summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/FValue.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index 2ce6da45fdac..f39299b1b06a 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -1561,9 +1561,9 @@ sal_uInt32 ORowSetValue::getUInt32() const
break;
case DataType::BIGINT:
if ( m_bSigned )
- nRet = static_cast<sal_Int32>(m_aValue.m_nInt64);
+ nRet = static_cast<sal_uInt32>(m_aValue.m_nInt64);
else
- nRet = static_cast<sal_Int32>(m_aValue.m_uInt64);
+ nRet = static_cast<sal_uInt32>(m_aValue.m_uInt64);
break;
default:
{
@@ -1692,7 +1692,7 @@ sal_uInt64 ORowSetValue::getULong() const
if ( m_bSigned )
nRet = m_aValue.m_nInt8;
else
- nRet = m_aValue.m_uInt16;
+ nRet = m_aValue.m_uInt8;
break;
case DataType::SMALLINT:
if ( m_bSigned )