[PATCH] SAL_PRIxUINT32 instead of bare %x

Takeshi Abe tabe at fixedpoint.jp
Fri Dec 10 07:24:01 PST 2010


---
 sw/source/filter/ww8/ww8par.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 4a333f4..801cc2f 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -213,7 +213,7 @@ bool Sttb::Read( SvStream* pS )
 
 void Sttb::Print( FILE* fp )
 {
-    fprintf( fp, "[ 0x%x ] Sttb - dump\n", nOffSet);
+    fprintf( fp, "[ 0x%" SAL_PRIxUINT32 " ] Sttb - dump\n", nOffSet);
     fprintf( fp, " fExtend 0x%x [expected 0xFFFF ]\n", fExtend );
     fprintf( fp, " cData no. or string data items %d (0x%x)\n", cData, cData );
 
-- 
1.7.2.3


----Next_Part(Sat_Dec_11_00_25_32_2010_798)----


More information about the LibreOffice mailing list