$OpenBSD: patch-src_xine-engine_audio_out_c,v 1.12 2010/09/13 20:12:16 sthen Exp $
--- src/xine-engine/audio_out.c.orig	Wed Jul 21 13:43:52 2010
+++ src/xine-engine/audio_out.c	Sun Jul 25 14:37:08 2010
@@ -1089,7 +1089,7 @@ static void *ao_loop (void *this_gen) {
                                 in_buf->format.rate,
                                 in_buf->format.mode) == 0 ) {
              in_buf->stream->emergency_brake = 1;
-             _x_message (in_buf->stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, NULL);
+             _x_message (in_buf->stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, (char *)NULL);
          }
       }
     }
@@ -1120,7 +1120,7 @@ static void *ao_loop (void *this_gen) {
 	  stream = xine_list_get_value (this->streams, ite);
           if( !stream->emergency_brake ) {
             stream->emergency_brake = 1;
-            _x_message (stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, NULL);
+            _x_message (stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, (char *)NULL);
           }
 	}
 	pthread_mutex_unlock(&this->streams_lock);
@@ -1252,7 +1252,7 @@ static void *ao_loop (void *this_gen) {
       if( result < 0 ) {
         /* device unplugged. */
         xprintf(this->xine, XINE_VERBOSITY_LOG, _("write to sound card failed. Assuming the device was unplugged.\n"));
-        _x_message (in_buf->stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, NULL);
+        _x_message (in_buf->stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, (char *)NULL);
 
         pthread_mutex_lock( &this->driver_lock );
         if(this->driver_open) {
@@ -1266,7 +1266,7 @@ static void *ao_loop (void *this_gen) {
                 in_buf->format.rate,
                 in_buf->format.mode) == 0) {
             in_buf->stream->emergency_brake = 1;
-            _x_message (in_buf->stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, NULL);
+            _x_message (in_buf->stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, (char *)NULL);
           }
         }
         pthread_mutex_unlock( &this->driver_lock );
@@ -1514,7 +1514,7 @@ static int ao_open(xine_audio_port_t *this_gen, xine_s
 
       if( !ret ) {
         stream->emergency_brake = 1;
-        _x_message (stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, NULL);
+        _x_message (stream, XINE_MSG_AUDIO_OUT_UNAVAILABLE, (char *)NULL);
         return 0;
       }
     } else {
