registrychunks: Use correct print format specifiers to fix compiler warnings
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 3 Mar 2013 10:28:32 +0000 (11:28 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 3 Mar 2013 10:28:32 +0000 (11:28 +0100)
gst/gstregistrychunks.c

index 3d723a2..571f6be 100644 (file)
@@ -60,7 +60,7 @@ _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 %" G_GSSIZE_FORMAT, \
+        ". Have %d bytes need %" G_GSIZE_FORMAT, \
         (int) (endptr - inptr), sizeof(element)); \
     goto error_label; \
   } \