diff options
author | Gabriele Bulfon <gabriele.bulfon@sonicle.com> | 2013-07-05 21:27:12 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-07-05 22:32:07 +0200 |
commit | 2d398166a937b494da7e7b198d2a00d20393a106 (patch) | |
tree | 67c5f361f33eb3451f927139742c0a5a6732adfa /connectivity | |
parent | f8734b5fe4ca94ba0928b82b21faa0b54f363772 (diff) |
use proper SQLINTEGER type (fixes build on Illumos)
Change-Id: I85296600195dd5d74d2a112ce6cfef7f276535ab
(cherry picked from commit 12b7ba60b746031f2bbef59758270cc0281f4dab)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/odbcbase/OConnection.cxx | 2 |
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), |