summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@wingomac.bcn.oblong.net>2009-04-20 15:48:21 +0200
committerAndy Wingo <wingo@wingomac.bcn.oblong.net>2009-04-20 15:54:31 +0200
commit034a4a771e9f5636dff77b9e41c84b08513c95b2 (patch)
tree118cbaa93eee6c39b1159977c2ee137e52c5e0c8
parent07dcbacd60402016bec2e3797e37008df58e6a79 (diff)
fix format string in pngdec
* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.
-rw-r--r--ext/libpng/gstpngdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c
index b7b889d69..d7af9a52f 100644
--- a/ext/libpng/gstpngdec.c
+++ b/ext/libpng/gstpngdec.c
@@ -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;
}