fix format string in pngdec

* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.
This commit is contained in:
Andy Wingo 2009-04-20 15:48:21 +02:00
parent 07dcbacd60
commit 034a4a771e

View file

@ -344,7 +344,7 @@ short_buffer:
gst_buffer_unref (buffer);
GST_ELEMENT_ERROR (pngdec, STREAM, FAILED,
(_("Internal data stream error.")),
("Read %u, needed %u bytes", size, length));
("Read %u, needed %" G_GSIZE_FORMAT "bytes", size, length));
ret = GST_FLOW_ERROR;
goto pause;
}