wasapi: Squelch warning about %x and HRESULT

HRESULT is always a 32-bit value, as is guint.
This commit is contained in:
Nirbheek Chauhan 2018-04-04 18:32:19 +05:30
parent affb0182c6
commit fc989ce544

View file

@ -45,7 +45,7 @@
do { \
if (hr != S_OK) { \
gchar *msg = gst_wasapi_util_hresult_to_string (hr); \
GST_ERROR_OBJECT (self, #func " failed (%x): %s", hr, msg); \
GST_ERROR_OBJECT (self, #func " failed (%x): %s", (guint) hr, msg); \
g_free (msg); \
and; \
} \