From: Reimar Döffinger Date: Wed, 28 Oct 2009 20:02:40 +0000 (+0000) Subject: Change format string from "x" to PRIx32 to hopefully fix a warning with Cygwin gcc... X-Git-Tag: v0.6~2781 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3db0208c42c1d76537b138bd6ab3f390fcb5e821;p=platform%2Fupstream%2Flibav.git Change format string from "x" to PRIx32 to hopefully fix a warning with Cygwin gcc 4.2.4. Originally committed as revision 20407 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/tableprint.c b/libavcodec/tableprint.c index dc4ae94..87387a8 100644 --- a/libavcodec/tableprint.c +++ b/libavcodec/tableprint.c @@ -38,7 +38,7 @@ void write_##name##_array(const void *arg, int len, int dummy)\ } WRITE_1D_FUNC(int8, int8_t, "%3"PRIi8, 15) -WRITE_1D_FUNC(uint32, uint32_t, "0x%08x", 7) +WRITE_1D_FUNC(uint32, uint32_t, "0x%08"PRIx32, 7) #define WRITE_2D_FUNC(name, type)\ void write_##name##_2d_array(const void *arg, int len, int len2)\