diff options
Diffstat (limited to 'gst/librfb/rfbdecoder.c')
-rw-r--r-- | gst/librfb/rfbdecoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |