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/real/gstrealvideodec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gst/real/gstrealvideodec.c') diff --git a/gst/real/gstrealvideodec.c b/gst/real/gstrealvideodec.c index 75bc6bc1..be6292f1 100644 --- a/gst/real/gstrealvideodec.c +++ b/gst/real/gstrealvideodec.c @@ -461,10 +461,10 @@ codec_search_done: goto could_not_load; } - hooks->init = rv_init; - hooks->free = rv_free; - hooks->transform = rv_transform; - hooks->custom_message = rv_custom_msg; + hooks->init = (GstRealVideoDecInitFunc) rv_init; + hooks->free = (GstRealVideoDecFreeFunc) rv_free; + hooks->transform = (GstRealVideoDecTransformFunc) rv_transform; + hooks->custom_message = (GstRealVideoDecMessageFunc) rv_custom_msg; hooks->module = module; dec->error_count = 0; -- cgit v1.2.1