From 5b751d02901fd672973d411d153820fc33f40508 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 13 Jun 2008 11:47:28 +0000 Subject: gst/udp/gstudpnetutils.c: Use g_ntohl for better portability. Original commit message from CVS: * gst/udp/gstudpnetutils.c: (gst_udp_is_multicast): Use g_ntohl for better portability. --- gst/udp/gstudpnetutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/udp') diff --git a/gst/udp/gstudpnetutils.c b/gst/udp/gstudpnetutils.c index 5464ddac..58e11bdb 100644 --- a/gst/udp/gstudpnetutils.c +++ b/gst/udp/gstudpnetutils.c @@ -230,7 +230,7 @@ gst_udp_is_multicast (struct sockaddr_storage *addr) { struct sockaddr_in *addr4 = (struct sockaddr_in *) addr; - ret = IN_MULTICAST (ntohl (addr4->sin_addr.s_addr)); + ret = IN_MULTICAST (g_ntohl (addr4->sin_addr.s_addr)); } break; -- cgit