nettimepacket: fix printf format warning in debug message

https://bugzilla.gnome.org/show_bug.cgi?id=664491
This commit is contained in:
Matej Knopp 2012-01-26 03:02:48 -05:00 committed by Tim-Philipp Müller
parent d09073b755
commit 7b16febb0d

View file

@ -157,7 +157,7 @@ receive_error:
} }
short_packet: 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); ret, GST_NET_TIME_PACKET_SIZE);
g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_DATA, g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_DATA,
"short time packet (%d < %d)", (int) ret, GST_NET_TIME_PACKET_SIZE); "short time packet (%d < %d)", (int) ret, GST_NET_TIME_PACKET_SIZE);