[SCM] libav/experimental: Change format string from "x" to PRIx32 to hopefully fix a warning with Cygwin gcc 4.2.4.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:53:48 UTC 2013


The following commit has been merged in the experimental branch:
commit 3db0208c42c1d76537b138bd6ab3f390fcb5e821
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Wed Oct 28 20:02:40 2009 +0000

    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)\

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list