summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-18 17:02:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-19 10:26:47 +0100
commit3631f5b3ba13e177e4c82af4e90b0cb5998b33e2 (patch)
tree4b5d35ffb9e36c80d2d217a11754b294dac260b8 /starmath
parent32294e11a06e216a859fcdccaa5678f98a1c9c25 (diff)
coverity#706062 Unintended sign extension
Change-Id: I96e3054de033c550a54c8393c82d0efbe6f2e08d
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/node.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 50bfccd1af11..184b01283c03 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2544,7 +2544,7 @@ void SmMatrixNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat)
}
// norm distance from which the following two are calcutated
- const int nNormDist = 3 * GetFont().GetSize().Height();
+ const long nNormDist = 3 * GetFont().GetSize().Height();
// define horizontal and vertical minimal distances that separate
// the elements