[Libreoffice-commits] core.git: connectivity/source
Arnaud Versini
arnaud.versini at libreoffice.org
Sun Oct 27 09:09:48 PDT 2013
connectivity/source/drivers/firebird/Util.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 82bafb4860b9b9fdb837cd7960775962cd13e165
Author: Arnaud Versini <arnaud.versini at libreoffice.org>
Date: Sun Oct 27 16:48:50 2013 +0100
FIREBIRD: SQL_INT64 should be 8 bytes
Change-Id: Iae71aab4cd68592fa6e5a7d55468e442e6d94385
Reviewed-on: https://gerrit.libreoffice.org/6451
Reviewed-by: Arnaud Versini <arnaud.versini at libreoffice.org>
Tested-by: Arnaud Versini <arnaud.versini at libreoffice.org>
diff --git a/connectivity/source/drivers/firebird/Util.cxx b/connectivity/source/drivers/firebird/Util.cxx
index 3c80952..0c7018c 100644
--- a/connectivity/source/drivers/firebird/Util.cxx
+++ b/connectivity/source/drivers/firebird/Util.cxx
@@ -231,7 +231,7 @@ void firebird::mallocSQLVAR(XSQLDA* pSqlda)
pVar->sqldata = (char*) malloc(sizeof(ISC_DATE));
break;
case SQL_INT64:
- pVar->sqldata = (char *)malloc(sizeof(int));
+ pVar->sqldata = (char *)malloc(sizeof(sal_Int64));
break;
case SQL_NULL:
assert(false); // TODO: implement
@@ -294,4 +294,4 @@ void firebird::freeSQLVAR(XSQLDA* pSqlda)
}
}
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list