[farsight2/master] Added explicit cast for ips in g_free (ips) cal.l Fix for MSVC mainly. Patch from Haakon Sporsheim <haakon.sporsheim at tandberg.com>

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:22:23 PST 2008


---
 transmitters/rawudp/fs-rawudp-stream-transmitter.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/transmitters/rawudp/fs-rawudp-stream-transmitter.c b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
index 510690e..e6b4214 100644
--- a/transmitters/rawudp/fs-rawudp-stream-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
@@ -523,13 +523,13 @@ fs_rawudp_stream_transmitter_build (FsRawUdpStreamTransmitter *self,
     next_port = used_port+1;
   }
 
-  g_free (ips);
+  g_free ((gpointer *)ips);
   g_free (ports);
 
   return TRUE;
 
  error:
-  g_free (ips);
+  g_free ((gpointer *)ips);
   g_free (ports);
 
   return FALSE;
-- 
1.5.6.5




More information about the farsight-commits mailing list