From cab11ef609622097052b9b4d5b854a73ce6c4fa1 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Thu, 23 Jan 2014 22:47:19 +0100 Subject: [PATCH] build: fix warnings on 64-bit platforms. --- gst-libs/gst/vaapi/gstvaapidecoder.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.c b/gst-libs/gst/vaapi/gstvaapidecoder.c index 9224b1a..aeb5d05 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder.c @@ -375,7 +375,7 @@ push_frame(GstVaapiDecoder *decoder, GstVideoCodecFrame *frame) GstVaapiSurfaceProxy * const proxy = frame->user_data; GST_DEBUG("push frame %d (surface 0x%08x)", frame->system_frame_number, - GST_VAAPI_SURFACE_PROXY_SURFACE_ID(proxy)); + (guint32) GST_VAAPI_SURFACE_PROXY_SURFACE_ID(proxy)); g_async_queue_push(decoder->frames, gst_video_codec_frame_ref(frame)); } @@ -395,7 +395,8 @@ pop_frame(GstVaapiDecoder *decoder, guint64 timeout) proxy = frame->user_data; GST_DEBUG("pop frame %d (surface 0x%08x)", frame->system_frame_number, - proxy ? GST_VAAPI_SURFACE_PROXY_SURFACE_ID(proxy) : VA_INVALID_ID); + (proxy ? (guint32) GST_VAAPI_SURFACE_PROXY_SURFACE_ID(proxy) : + VA_INVALID_ID)); return frame; } -- 2.7.4