summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods.cxx2
-rw-r--r--basic/source/runtime/props.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 5b230e147c73..1cbc5bdd38b7 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -216,7 +216,7 @@ RTLFUNC(Error)
else
{
nCode = rPar.Get( 1 )->GetLong();
- if( nCode > 65535L )
+ if( nCode > 65535 )
{
StarBASIC::Error( ERRCODE_BASIC_CONVERSION );
}
diff --git a/basic/source/runtime/props.cxx b/basic/source/runtime/props.cxx
index ce994947389e..f56b914d4272 100644
--- a/basic/source/runtime/props.cxx
+++ b/basic/source/runtime/props.cxx
@@ -51,7 +51,7 @@ RTLFUNC(Err)
if( bWrite )
{
sal_Int32 nVal = rPar.Get( 0 )->GetLong();
- if( nVal <= 65535L )
+ if( nVal <= 65535 )
StarBASIC::Error( StarBASIC::GetSfxFromVBError( (sal_uInt16) nVal ) );
}
else