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.
This commit is contained in:
Tim-Philipp Müller 2015-04-11 12:12:57 +01:00
parent c4c9fe60b6
commit ea58a2138d

View file

@ -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]);