diff options
Diffstat (limited to 'basic/source/comp/exprtree.cxx')
-rw-r--r-- | basic/source/comp/exprtree.cxx | 2 |
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); } } |