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:
6393402
)
registrychunks: Fix format string for debug error message.
author
Jan Schmidt
<thaytan@noraisin.net>
Thu, 8 Oct 2009 15:05:08 +0000
(16:05 +0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Thu, 8 Oct 2009 15:05:08 +0000
(16:05 +0100)
gst/gstregistrychunks.c
patch
|
blob
|
history
diff --git
a/gst/gstregistrychunks.c
b/gst/gstregistrychunks.c
index 1babcffa3e44f1e067e10dfc78da769040d893c0..8fe089d746c5d7260f6f216fb9232ca6013361fd 100644
(file)
--- a/
gst/gstregistrychunks.c
+++ b/
gst/gstregistrychunks.c
@@
-63,7
+63,8
@@
_strnlen (const gchar * str, gint maxlen)
#define unpack_element(inptr, outptr, element, endptr, error_label) G_STMT_START{ \
if (inptr + sizeof(element) > endptr) { \
GST_ERROR ("Failed reading element " G_STRINGIFY (element) \
- ". Have %d bytes need %d", endptr - inptr, sizeof(element)); \
+ ". Have %" G_GSSIZE_FORMAT " bytes need %" G_GSSIZE_FORMAT, \
+ endptr - inptr, sizeof(element)); \
goto error_label; \
} \
outptr = (element *) inptr; \