nettimepacket: fix printf format warning in debug message
authorMatej Knopp <matej.knopp@gmail.com>
Thu, 26 Jan 2012 08:02:48 +0000 (03:02 -0500)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 19 Feb 2012 12:46:21 +0000 (12:46 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=664491

libs/gst/net/gstnettimepacket.c

index 597199e..f4667f6 100644 (file)
@@ -157,7 +157,7 @@ receive_error:
   }
 short_packet:
   {
-    GST_DEBUG ("someone sent us a short packet (%d < %d)",
+    GST_DEBUG ("someone sent us a short packet (%" G_GSSIZE_FORMAT " < %d)",
         ret, GST_NET_TIME_PACKET_SIZE);
     g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_DATA,
         "short time packet (%d < %d)", (int) ret, GST_NET_TIME_PACKET_SIZE);