[Libreoffice-commits] .: bridges/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 21 01:04:47 PDT 2012


 bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7b72d933f99613a0ff2105416c26c3c5baa7888c
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Sep 21 09:15:34 2012 +0300

    WaE: format '%lx' expects 'long unsigned int', argument is 'void*'
    
    Change-Id: Id14a7be627502cb8aa2173f0206c84cd27fab2e6

diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
index 98b29ba..17d6f05 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
@@ -468,7 +468,7 @@ static void cpp_call(
             case typelib_TypeClass_HYPER:
             case typelib_TypeClass_UNSIGNED_HYPER:
 #if OSL_DEBUG_LEVEL > 2
-                fprintf(stderr, "hyper is %lx\n", pCppArgs[nPos]);
+                fprintf(stderr, "hyper is %p\n", pCppArgs[nPos]);
 #endif
                 INSERT_INT64( pCppArgs[nPos], nGPR, pGPR, pStack, pStackStart );
                 break;
@@ -476,7 +476,7 @@ static void cpp_call(
             case typelib_TypeClass_UNSIGNED_LONG:
             case typelib_TypeClass_ENUM:
 #if OSL_DEBUG_LEVEL > 2
-                fprintf(stderr, "long is %x\n", pCppArgs[nPos]);
+                fprintf(stderr, "long is %p\n", pCppArgs[nPos]);
 #endif
                 INSERT_INT32( pCppArgs[nPos], nGPR, pGPR, pStack );
                 break;


More information about the Libreoffice-commits mailing list