mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
registrychunks: Fix format string for debug error message.
This commit is contained in:
parent
63934021ab
commit
a58702de89
1 changed files with 2 additions and 1 deletions
|
@ -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; \
|
||||
|
|
Loading…
Reference in a new issue