summaryrefslogtreecommitdiff
path: root/basic/source/runtime/runtime.cxx
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
commit1a639c734cec2dfce0a4efe2fecdeeddbbc9b441 (patch)
treecabff5edf74306be036b7cc668fef11d7dab67b4 /basic/source/runtime/runtime.cxx
parent0fb004299f88eff2e6077b8aabac07dde3ec3f02 (diff)
mib16: compiler warning (debug only)
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-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 1ace790f8aee..c3419adbfdb3 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