diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-10-08 16:21:45 +0100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-10-08 16:21:45 +0100 |
commit | 09ae85670c28fa81b54f58eba1f773286b2ed009 (patch) | |
tree | 0c975fc62df6933daec0e124f9e8bb8f62ab12d6 | |
parent | a58702de895dc7ce5154cd1d3b99491a5e1390f9 (diff) |
registrychunks: Fix a debug format string harder to satisfy OS/X's gcc.
-rw-r--r-- | gst/gstregistrychunks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstregistrychunks.c b/gst/gstregistrychunks.c index 8fe089d746..9e20ef4494 100644 --- a/gst/gstregistrychunks.c +++ b/gst/gstregistrychunks.c @@ -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; \ |