From 41406037acbb871dbf8ccc37b46d8306d60715e7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 20 Feb 2012 16:35:18 +0100 Subject: [PATCH] fix compiler warnings --- gst/udp/gstmultiudpsink.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c index 9766a84..2781892 100644 --- a/gst/udp/gstmultiudpsink.c +++ b/gst/udp/gstmultiudpsink.c @@ -477,7 +477,7 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer) /* grab lock while iterating and sending to clients, this should be * fast as UDP never blocks */ g_mutex_lock (&sink->client_lock); - GST_LOG_OBJECT (bsink, "about to send %d bytes", size); + GST_LOG_OBJECT (bsink, "about to send %" G_GSIZE_FORMAT " bytes", size); no_clients = 0; num = 0; @@ -487,7 +487,8 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer) client = (GstUDPClient *) clients->data; no_clients++; - GST_LOG_OBJECT (sink, "sending %d bytes to client %p", size, client); + GST_LOG_OBJECT (sink, "sending %" G_GSIZE_FORMAT " bytes to client %p", + size, client); count = sink->send_duplicates ? client->refcount : 1; @@ -518,8 +519,8 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer) g_free (vec); g_free (map); - GST_LOG_OBJECT (sink, "sent %d bytes to %d (of %d) clients", size, num, - no_clients); + GST_LOG_OBJECT (sink, "sent %" G_GSIZE_FORMAT " bytes to %d (of %d) clients", + size, num, no_clients); return GST_FLOW_OK; -- 2.7.4