summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2010-06-17 16:09:17 +0200
committerDaniel Rentz <dr@openoffice.org>2010-06-17 16:09:17 +0200
commit398ded4c2c2974a119e59b387e6cdad0d66d2357 (patch)
tree91b037a82a0d1fe9d6bcfb8b14b241cdfe98c49f /basic
parent46d69011eea0987dfff381fd788ff5c73915d17c (diff)
mib16: compiler warning (debug only)
Diffstat (limited to 'basic')
-rwxr-xr-xbasic/source/runtime/runtime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index dd455475a8..b27495099a 100755
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -907,7 +907,7 @@ sal_Int32 SbiRuntime::translateErrorToVba( SbError nError, String& rMsg )
{
// TEST, has to be vb here always
#ifdef DBG_UTIL
- SbError nTmp = StarBASIC::GetSfxFromVBError( nError );
+ SbError nTmp = StarBASIC::GetSfxFromVBError( (USHORT)nError );
DBG_ASSERT( nTmp, "No VB error!" );
#endif