[Libreoffice-commits] .: desktop/unx

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jan 11 12:21:20 PST 2011


 desktop/unx/splash/unxsplash.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 139fc94dd7ecaa2d8db759ed7344d2ced1b7fe3c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jan 11 20:21:14 2011 +0000

    WaE: sal_Int32 is a %SAL_PRIdINT32 when printfed

diff --git a/desktop/unx/splash/unxsplash.cxx b/desktop/unx/splash/unxsplash.cxx
index 518dad3..f51e22a 100644
--- a/desktop/unx/splash/unxsplash.cxx
+++ b/desktop/unx/splash/unxsplash.cxx
@@ -103,7 +103,7 @@ void SAL_CALL UnxSplashScreen::setValue( sal_Int32 nValue )
 {
     if ( m_pOutFd )
     {
-        fprintf( m_pOutFd, "%ld%%\n", nValue );
+        fprintf( m_pOutFd, "%"SAL_PRIdINT32"%%\n", nValue );
         fflush( m_pOutFd );
     }
 }


More information about the Libreoffice-commits mailing list