Change format string from "x" to PRIx32 to hopefully fix a warning with Cygwin gcc...
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 28 Oct 2009 20:02:40 +0000 (20:02 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 28 Oct 2009 20:02:40 +0000 (20:02 +0000)
Originally committed as revision 20407 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/tableprint.c

index dc4ae94..87387a8 100644 (file)
@@ -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)\