[gst-cvs] gst-plugins-good: fix format string in pngdec
Andy Wingo
wingo at kemper.freedesktop.org
Mon Apr 20 06:54:51 PDT 2009
Module: gst-plugins-good
Branch: master
Commit: 034a4a771e9f5636dff77b9e41c84b08513c95b2
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=034a4a771e9f5636dff77b9e41c84b08513c95b2
Author: Andy Wingo <wingo at wingomac.bcn.oblong.net>
Date: Mon Apr 20 15:48:21 2009 +0200
fix format string in pngdec
* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.
---
ext/libpng/gstpngdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c
index b7b889d..d7af9a5 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;
}
More information about the Gstreamer-commits
mailing list