summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/firebird/Util.cxx4
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: */