summaryrefslogtreecommitdiff
path: root/basic/source
diff options
context:
space:
mode:
authorDamjan Jovanovic <damjan@apache.org>2015-08-26 18:10:02 +0000
committerDamjan Jovanovic <damjan@apache.org>2015-08-26 18:10:02 +0000
commit175afdcb151d9ce1238dc9fec59f2dfc2eb07345 (patch)
treef14774d0a8529fd3132fe45d12fb2960df9d40ec /basic/source
parenta68493266e9212119f31e58c256f00fb9bcc8d20 (diff)
#i112383# CLng("&HFFFFFFFF") fails on 64-bits rather than returning -1
Found-by: andrew Patch-by: Damjan Jovanovic
Notes
Notes: merged as: 9e318c09778f0416143f211c5817536d5f1db3b7
Diffstat (limited to 'basic/source')
-rw-r--r--basic/source/sbx/sbxscan.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index 910e61a182d8..0cf4b7d4ca4e 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -202,7 +202,7 @@ SbxError ImpScan( const ::rtl::OUString& rWSrc, double& nVal, SbxDataType& rType
case 'H': break;
default : bRes = sal_False;
}
- long l = 0;
+ sal_Int32 l = 0;
int i;
while( isalnum( *p ) )
{