diff tableprint.c @ 10476:e37d143be97e libavcodec

Change format string from "x" to PRIx32 to hopefully fix a warning with Cygwin gcc 4.2.4.
author reimar
date Wed, 28 Oct 2009 20:02:40 +0000
parents 09d8df2c1a4d
children 2980d9efc542
line wrap: on
line diff
--- a/tableprint.c	Wed Oct 28 19:49:19 2009 +0000
+++ b/tableprint.c	Wed Oct 28 20:02:40 2009 +0000
@@ -38,7 +38,7 @@
 }
 
 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)\