connectivity/source/drivers/firebird/Util.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 05e50fd54bc94730c3129e71f967cd74324b6851 Author: Andrzej J.R. Hunt <[email protected]> Date: Sun Oct 27 19:20:42 2013 +0000 Firebird: Use explicit integer sizes. Change-Id: I5cabe21a2d675773792f9c9d5130d8660718efe8 diff --git a/connectivity/source/drivers/firebird/Util.cxx b/connectivity/source/drivers/firebird/Util.cxx index 0c7018c..74eb00c 100644 --- a/connectivity/source/drivers/firebird/Util.cxx +++ b/connectivity/source/drivers/firebird/Util.cxx @@ -201,10 +201,10 @@ void firebird::mallocSQLVAR(XSQLDA* pSqlda) pVar->sqldata = (char *)malloc(sizeof(char)*pVar->sqllen + 2); break; case SQL_SHORT: - pVar->sqldata = (char *)malloc(sizeof(short)); + pVar->sqldata = (char*) malloc(sizeof(sal_Int16)); break; case SQL_LONG: - pVar->sqldata = (char *)malloc(sizeof(long)); + pVar->sqldata = (char*) malloc(sizeof(sal_Int32)); break; case SQL_FLOAT: pVar->sqldata = (char *)malloc(sizeof(float)); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
