diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-06-17 10:51:28 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-06-17 10:51:28 +0000 |
commit | 8b27af9e5fdb9584a39f1ae8366ef9f29ebe8394 (patch) | |
tree | e8910942824e6a80c110b7ae622daf804689467c /rsc/source | |
parent | 0a872d00e04544092998d46e09d1fddab0da310e (diff) |
INTEGRATION: CWS ooo64bit01 (1.4.88); FILE MERGED
2004/04/13 03:40:19 fa 1.4.88.1: #i8580# make resouce compiler 64-bit clean
#i8582# make tools portions of resource code 64-bit clean
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/parser/rsclex.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx index 9932d4070605..77122dd7dbfc 100644 --- a/rsc/source/parser/rsclex.cxx +++ b/rsc/source/parser/rsclex.cxx @@ -2,9 +2,9 @@ * * $RCSfile: rsclex.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hjs $ $Date: 2002-03-06 13:30:51 $ + * last change: $Author: rt $ $Date: 2004-06-17 11:51:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -109,8 +109,8 @@ BOOL bTargetDefined; /****************** C O D E **********************************************/ -ULONG GetNumber(){ - ULONG l = 0; +UINT32 GetNumber(){ + UINT32 l = 0; short nLog = 10; if( '0' == c ){ @@ -140,8 +140,8 @@ ULONG GetNumber(){ while( c=='U' || c=='u' || c=='l' || c=='L' ) //Wg. Unsigned Longs c = pFI->GetFastChar(); - if( l > LONG_MAX ) //Oberstes bit gegebenenfalls abschneiden; - l &= LONG_MAX; + if( l > 0x7fffffff ) //Oberstes bit gegebenenfalls abschneiden; + l &= 0x7fffffff; return( l ); } |