[Libreoffice-commits] .: connectivity/source

Tor Lillqvist tml at kemper.freedesktop.org
Sun Jan 29 10:42:35 PST 2012


 connectivity/source/drivers/odbcbase/OStatement.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1518468ae06cd8e0d0f0afb79376d9cd7783fed6
Author: Tor Lillqvist <tml at iki.fi>
Date:   Sun Jan 29 20:42:20 2012 +0200

    WaE: format '%d' expects type 'int', but argument 3 has type 'sal_Int32'

diff --git a/connectivity/source/drivers/odbcbase/OStatement.cxx b/connectivity/source/drivers/odbcbase/OStatement.cxx
index 27eec15..4d963c8 100644
--- a/connectivity/source/drivers/odbcbase/OStatement.cxx
+++ b/connectivity/source/drivers/odbcbase/OStatement.cxx
@@ -828,7 +828,7 @@ void OStatement_Base::setResultSetType(sal_Int32 _par0)
             nSet =  SQL_SENSITIVE;
             break;
         default:
-            fprintf(stderr, "_par0=%d\n", _par0);
+            fprintf(stderr, "_par0=%d\n", (int) _par0);
             OSL_FAIL( "OStatement_Base::setResultSetType: invalid result set type!" );
             break;
     }


More information about the Libreoffice-commits mailing list