diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-28 09:17:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-28 09:17:16 +0000 |
commit | 72dd5529678a7044b4250117b523e299a8a09a92 (patch) | |
tree | fcbc1ff84a078070623cc2e154b58ac1aa4fcdb1 /connectivity/source/drivers/odbcbase/OTools.cxx | |
parent | 3820f0e7e17eeae559b2b3f22561316dd0e1835b (diff) |
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'connectivity/source/drivers/odbcbase/OTools.cxx')
-rw-r--r-- | connectivity/source/drivers/odbcbase/OTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/odbcbase/OTools.cxx b/connectivity/source/drivers/odbcbase/OTools.cxx index 76d44d533834..8ae72766fc04 100644 --- a/connectivity/source/drivers/odbcbase/OTools.cxx +++ b/connectivity/source/drivers/odbcbase/OTools.cxx @@ -368,7 +368,7 @@ void OTools::bindValue( OConnection* _pConnection, } break; case SQL_LONGVARBINARY: { - _pData = (void*)(columnIndex); + _pData = (void*)(sal_IntPtr)(columnIndex); sal_Int32 nLen = 0; nLen = ((const ::com::sun::star::uno::Sequence< sal_Int8 > *)_pValue)->getLength(); *pLen = (SQLLEN)SQL_LEN_DATA_AT_EXEC(nLen); @@ -376,7 +376,7 @@ void OTools::bindValue( OConnection* _pConnection, break; case SQL_LONGVARCHAR: { - _pData = (void*)(columnIndex); + _pData = (void*)(sal_IntPtr)(columnIndex); sal_Int32 nLen = 0; nLen = ((::rtl::OUString*)_pValue)->getLength(); *pLen = (SQLLEN)SQL_LEN_DATA_AT_EXEC(nLen); |