diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-08 19:33:26 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:51 +0100 |
commit | 02536846f2a8c23fd95a7d9a8b11b9208006528d (patch) | |
tree | 68d3ee62c8bc1bac48fbdeed3f046c5b67539b1b /connectivity | |
parent | cd8b0994a86a0b4413826ba3c2b163abfdf9f547 (diff) |
WaE: compoarison between signed and unsigned interger expressions
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/ado/ADatabaseMetaDataImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/ado/ADatabaseMetaDataImpl.cxx b/connectivity/source/drivers/ado/ADatabaseMetaDataImpl.cxx index 7dc3cb439f48..6322184727e1 100644 --- a/connectivity/source/drivers/ado/ADatabaseMetaDataImpl.cxx +++ b/connectivity/source/drivers/ado/ADatabaseMetaDataImpl.cxx @@ -96,7 +96,7 @@ sal_Int32 ODatabaseMetaData::getMaxSize(sal_uInt32 _nId) sal_Int32 nSize = 0; ::std::map<sal_uInt32,LiteralInfo>::const_iterator aIter = m_aLiteralInfo.find(_nId); if(aIter != m_aLiteralInfo.end() && (*aIter).second.fSupported) - nSize = ((*aIter).second.cchMaxLen == (-1)) ? 0 : (*aIter).second.cchMaxLen; + nSize = (static_cast<sal_Int32>((*aIter).second.cchMaxLen) == (-1)) ? 0 : (*aIter).second.cchMaxLen; return nSize; } // ------------------------------------------------------------------------- |