mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 04:11:26 +00:00
registrychunks: Fix a debug format string harder to satisfy OS/X's gcc.
This commit is contained in:
parent
a58702de89
commit
09ae85670c
1 changed files with 2 additions and 2 deletions
|
@ -63,8 +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 %" G_GSSIZE_FORMAT " bytes need %" G_GSSIZE_FORMAT, \
|
||||
endptr - inptr, sizeof(element)); \
|
||||
". Have %d bytes need %" G_GSSIZE_FORMAT, \
|
||||
(int) (endptr - inptr), sizeof(element)); \
|
||||
goto error_label; \
|
||||
} \
|
||||
outptr = (element *) inptr; \
|
||||
|
|
Loading…
Reference in a new issue