diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-03 13:20:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-03 14:52:24 +0100 |
commit | bca68c4a34cfea8fce2318c95286fc23ceec920d (patch) | |
tree | f042a1671a2268739b142cd0f950d7d762cf2b93 /svtools/source/control | |
parent | 6da22e414892b49146a411ee322ac58e4fbffad1 (diff) |
coverity#736898 Unintended sign extension
Change-Id: Ie09d25b2f9993435ebffc52c7257cd9396672c8f
Diffstat (limited to 'svtools/source/control')
-rw-r--r-- | svtools/source/control/valueset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 9f1c72cd7ab1..0f400533bd84 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -463,7 +463,7 @@ void ValueSet::Format() } // calculate item size - const long nColSpace = (mnCols - 1) * mnSpacing; + const long nColSpace = (mnCols - 1) * static_cast<long>(mnSpacing); const long nLineSpace = ((mnVisLines - 1) * mnSpacing) + nNoneSpace; if ( mnUserItemWidth && !mnUserCols ) { |