From 81b914a61ff618d4be41fdee2bfc3914759d6e69 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 31 May 2012 18:55:32 -0300 Subject: [PATCH] theoraenc: do not use %zu, it is C99 Cast the variables instead and fallback to %u --- ext/theora/gsttheoraenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c index bd9b6aa..31ff235 100644 --- a/ext/theora/gsttheoraenc.c +++ b/ext/theora/gsttheoraenc.c @@ -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; } -- 2.7.4