From ea58a2138db366b0aa7506bf1237d976cab72e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 11 Apr 2015 12:12:57 +0100 Subject: [PATCH] winks: fix debug message parameter format The first part of the GUID structure is a DWORD which is defined as an unsigned long, so we need to either cast or use %08lx. --- sys/winks/ksvideohelpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/winks/ksvideohelpers.c b/sys/winks/ksvideohelpers.c index 156d5c85be..9d7046178a 100644 --- a/sys/winks/ksvideohelpers.c +++ b/sys/winks/ksvideohelpers.c @@ -182,7 +182,7 @@ ks_video_format_to_structure (GUID subtype_guid, GUID format_guid) if (!structure) { GST_DEBUG ("Unknown DirectShow Video GUID " "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", - subtype_guid.Data1, subtype_guid.Data2, subtype_guid.Data3, + (guint) subtype_guid.Data1, subtype_guid.Data2, subtype_guid.Data3, subtype_guid.Data4[0], subtype_guid.Data4[1], subtype_guid.Data4[2], subtype_guid.Data4[3], subtype_guid.Data4[4], subtype_guid.Data4[5], subtype_guid.Data4[6], subtype_guid.Data4[7]);