summaryrefslogtreecommitdiffstats
path: root/basic/source/comp/exprtree.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/comp/exprtree.cxx')
-rw-r--r--basic/source/comp/exprtree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx
index 6c960170870b..229f415fc3c8 100644
--- a/basic/source/comp/exprtree.cxx
+++ b/basic/source/comp/exprtree.cxx
@@ -886,7 +886,7 @@ short SbiConstExpression::GetShortValue()
pParser->Error( ERRCODE_BASIC_OUT_OF_RANGE );
}
- return (short) n;
+ return static_cast<short>(n);
}
}