# HG changeset patch # User reimar # Date 1256760160 0 # Node ID e37d143be97ea6114935a33b7cbc21f5f57d1631 # Parent 26d367865bdae4ece7af2244d58c2554ee0b38bc Change format string from "x" to PRIx32 to hopefully fix a warning with Cygwin gcc 4.2.4. diff -r 26d367865bda -r e37d143be97e tableprint.c --- 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)\