diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-10-27 16:48:50 +0100 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-10-27 16:09:28 +0000 |
commit | 82bafb4860b9b9fdb837cd7960775962cd13e165 (patch) | |
tree | 55094998e3af715d86e7edeb87fb30046d4c10a3 /connectivity | |
parent | a79cb836b951eb2492e43aadd2ee672b9b67b914 (diff) |
FIREBIRD: SQL_INT64 should be 8 bytes
Change-Id: Iae71aab4cd68592fa6e5a7d55468e442e6d94385
Reviewed-on: https://gerrit.libreoffice.org/6451
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/Util.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/Util.cxx b/connectivity/source/drivers/firebird/Util.cxx index 3c80952b9ae0..0c7018c87b22 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: */ |