[Libreoffice-commits] .: sax/test

Thomas Arnhold tarnhold at kemper.freedesktop.org
Sun Jul 10 01:18:37 PDT 2011


 sax/test/testcomponent.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c9b55e9f389a54b2444ac8dd2d92c833953df8a7
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sun Jul 10 10:18:24 2011 +0200

    Bulid fix: use SAL_PRIxUINT32 format string

diff --git a/sax/test/testcomponent.cxx b/sax/test/testcomponent.cxx
index 1141059..9648758 100644
--- a/sax/test/testcomponent.cxx
+++ b/sax/test/testcomponent.cxx
@@ -195,7 +195,7 @@ int main (int argc, char **argv)
         Sequence<OUString> seqWarnings = xTest->getWarnings();
         if( seqWarnings.getLength() > nWarningCount )
         {
-            printf( "Warnings during test %d!\n" , nHandle );
+            printf( "Warnings during test %" SAL_PRIxUINT32 "!\n" , nHandle );
             for( ; nWarningCount < seqWarnings.getLength() ; nWarningCount ++ )
             {
                 OString o = OUStringToOString(
@@ -206,7 +206,7 @@ int main (int argc, char **argv)
 
 
         if( seqErrors.getLength() > nErrorCount ) {
-            printf( "Errors during test %d!\n" , nHandle );
+            printf( "Errors during test %" SAL_PRIxUINT32 "!\n" , nHandle );
             for( ; nErrorCount < seqErrors.getLength() ; nErrorCount ++ ) {
                 OString o = OUStringToOString(
                     seqErrors.getArray()[nErrorCount], RTL_TEXTENCODING_ASCII_US );


More information about the Libreoffice-commits mailing list