theoraenc: do not use %zu, it is C99
authorThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 31 May 2012 21:55:32 +0000 (18:55 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 31 May 2012 21:55:32 +0000 (18:55 -0300)
Cast the variables instead and fallback to %u

ext/theora/gsttheoraenc.c

index bd9b6aa..31ff235 100644 (file)
@@ -851,8 +851,8 @@ theora_enc_buffer_from_header_packet (GstTheoraEnc * enc, ogg_packet * packet)
   GST_BUFFER_TIMESTAMP (outbuf) = GST_CLOCK_TIME_NONE;
   GST_BUFFER_DURATION (outbuf) = GST_CLOCK_TIME_NONE;
 
-  GST_DEBUG ("created header packet buffer, %zu bytes",
-      gst_buffer_get_size (outbuf));
+  GST_DEBUG ("created header packet buffer, %u bytes",
+      (guint) gst_buffer_get_size (outbuf));
   return outbuf;
 }