summaryrefslogtreecommitdiff
path: root/sys/winks
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-04-11 12:12:57 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-04-11 12:12:57 +0100
commitea58a2138db366b0aa7506bf1237d976cab72e6c (patch)
tree5a75940ba4c1f61a39e4bbe8e322a5a8b2001423 /sys/winks
parentc4c9fe60b630a66178be106e2385090b591e8cf0 (diff)
downloadgstreamer-plugins-bad-ea58a2138db366b0aa7506bf1237d976cab72e6c.tar.gz
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.
Diffstat (limited to 'sys/winks')
-rw-r--r--sys/winks/ksvideohelpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/winks/ksvideohelpers.c b/sys/winks/ksvideohelpers.c
index 156d5c85b..9d7046178 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]);