summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/rect.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx
index 31b337c9cdec..1c8f3e3b5ead 100644
--- a/starmath/inc/rect.hxx
+++ b/starmath/inc/rect.hxx
@@ -145,7 +145,7 @@ public:
long GetLeft() const { return GetTopLeft().X(); }
long GetBottom() const { return GetTop() + GetHeight() - 1; }
long GetRight() const { return GetLeft() + GetWidth() - 1; }
- long GetCenterY() const { return (GetTop() + GetBottom()) / 2L; }
+ long GetCenterY() const { return (GetTop() + GetBottom()) / 2; }
long GetWidth() const { return GetSize().Width(); }
long GetHeight() const { return GetSize().Height(); }