From 1fe4050c0a299016b82bfdb70dd46d414a53a082 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 8 Oct 2007 17:46:45 +0000 Subject: gst/: Fix compiler warnings shown by Forte. Original commit message from CVS: * gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc): * gst/librfb/rfbbuffer.h: * gst/librfb/rfbdecoder.c: (rfb_socket_get_buffer): * gst/mpegvideoparse/mpegvideoparse.c: (gst_mpegvideoparse_chain): * gst/nsf/nes6502.c: (nes6502_execute): * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps): * gst/real/gstrealvideodec.c: (open_library): * gst/real/gstrealvideodec.h: * gst/rtpmanager/gstrtpsession.c: (create_recv_rtp_sink), (create_recv_rtcp_sink), (create_send_rtp_sink): Fix compiler warnings shown by Forte. --- gst/librfb/rfbdecoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/librfb/rfbdecoder.c') diff --git a/gst/librfb/rfbdecoder.c b/gst/librfb/rfbdecoder.c index 4ea3910b..8b9254a1 100644 --- a/gst/librfb/rfbdecoder.c +++ b/gst/librfb/rfbdecoder.c @@ -642,7 +642,7 @@ rfb_socket_get_buffer (gint length, gpointer user_data) buffer = rfb_buffer_new (); buffer->data = g_malloc (length); - buffer->free_data = (void *) g_free; + buffer->free_data = (RfbBufferFreeFunc) g_free; // g_print ("calling read(%d, %p, %d)\n", fd, buffer->data, length); ret = read (fd, buffer->data, length); -- cgit v1.2.1