summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele Bulfon <gabriele.bulfon@sonicle.com>2013-07-05 21:27:12 +0200
committerMichael Stahl <mstahl@redhat.com>2013-07-05 21:49:48 +0200
commit12b7ba60b746031f2bbef59758270cc0281f4dab (patch)
treebb10e7a667c64ddd29ba7516f6d7ef1af529970c
parentb3f41543851e9985c6c7ba133c32753c9bc732c1 (diff)
use proper SQLINTEGER type (fixes build on Illumos)
Change-Id: I85296600195dd5d74d2a112ce6cfef7f276535ab
-rw-r--r--connectivity/source/drivers/odbcbase/OConnection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/odbcbase/OConnection.cxx b/connectivity/source/drivers/odbcbase/OConnection.cxx
index dfe22be49b5b..9e04bba0428d 100644
--- a/connectivity/source/drivers/odbcbase/OConnection.cxx
+++ b/connectivity/source/drivers/odbcbase/OConnection.cxx
@@ -417,7 +417,7 @@ OUString SAL_CALL OConnection::getCatalog( ) throw(SQLException, RuntimeExcepti
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
- sal_Int32 nValueLen;
+ SQLINTEGER nValueLen;
char pCat[1024];
OTools::ThrowException(this,
N3SQLGetConnectAttr(m_aConnectionHandle,SQL_ATTR_CURRENT_CATALOG,(SDB_ODBC_CHAR*)pCat,(sizeof pCat)-1,&nValueLen),