From fc989ce544c55675f576d4b48ae6a90da4a008b5 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 4 Apr 2018 18:32:19 +0530 Subject: [PATCH] wasapi: Squelch warning about %x and HRESULT HRESULT is always a 32-bit value, as is guint. --- sys/wasapi/gstwasapiutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/wasapi/gstwasapiutil.h b/sys/wasapi/gstwasapiutil.h index a0e329d..ecf0ba3 100644 --- a/sys/wasapi/gstwasapiutil.h +++ b/sys/wasapi/gstwasapiutil.h @@ -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; \ } \ -- 2.7.4