[Libreoffice-commits] .: sax/source

Julien Nabet serval2412 at kemper.freedesktop.org
Mon Apr 11 12:49:48 PDT 2011


 sax/source/tools/fastserializer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6b64fd632429cdcc153a6bfb0dd8951a986e7e3b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Apr 11 21:46:23 2011 +0200

    small bug, "%d" instead of "%ld" in a printf

diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index e894c2c..a44d148 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -514,7 +514,7 @@ namespace sax_fastparser {
         std::map< sal_Int32, Int8Sequence >::iterator iter = maData.begin();
         while ( iter != maData.end( ) )
         {
-            fprintf( stderr, "pair: %d, ", iter->first );
+            fprintf( stderr, "pair: %ld, ", iter->first );
             for ( sal_Int32 i=0, len=iter->second.getLength(); i < len; ++i )
                 fprintf( stderr, "%c", iter->second[i] );
             fprintf( stderr, "\n" );


More information about the Libreoffice-commits mailing list