$OpenBSD: patch-src_input_input_net_c,v 1.4 2010/01/05 11:48:51 sthen Exp $
--- src/input/input_net.c.orig	Mon Nov 30 15:55:45 2009
+++ src/input/input_net.c	Wed Dec  2 19:15:35 2009
@@ -275,7 +275,7 @@ static off_t net_plugin_read (input_plugin_t *this_gen
     xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, "input_net: got %" PRIdMAX " bytes (%" PRIdMAX "/%" PRIdMAX " bytes read)\n", (intmax_t)n, (intmax_t)total, (intmax_t)len);
 
     if (n < 0) {
-      _x_message(this->stream, XINE_MSG_READ_ERROR, this->host_port, NULL);
+      _x_message(this->stream, XINE_MSG_READ_ERROR, this->host_port, (char *)NULL);
       return 0;
     }
 
