projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
affb018
)
wasapi: Squelch warning about %x and HRESULT
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Wed, 4 Apr 2018 13:02:19 +0000
(18:32 +0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Wed, 4 Apr 2018 13:06:38 +0000
(18:36 +0530)
HRESULT is always a 32-bit value, as is guint.
sys/wasapi/gstwasapiutil.h
patch
|
blob
|
history
diff --git
a/sys/wasapi/gstwasapiutil.h
b/sys/wasapi/gstwasapiutil.h
index
a0e329d
..
ecf0ba3
100644
(file)
--- 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; \
} \