From 0b49701fa5c22abba6b9b4a60ddd2720973dd858 Mon Sep 17 00:00:00 2001 From: Shubham Verma Date: Fri, 23 Feb 2018 00:21:07 +0530 Subject: tdf#114441 sal_uLong to better integer types Change-Id: I55b45821cf67a99f97ba067a3d4923d76c19696e Reviewed-on: https://gerrit.libreoffice.org/50204 Tested-by: Jenkins Reviewed-by: Michael Stahl --- idl/inc/lex.hxx | 6 +++--- idl/source/cmptools/lex.cxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'idl') diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx index 58728260772c..7ddc3e9ce246 100644 --- a/idl/inc/lex.hxx +++ b/idl/inc/lex.hxx @@ -40,7 +40,7 @@ friend class SvTokenStream; OString aString; union { - sal_uLong nLong; + sal_uInt64 nLong; bool bBool; char cChar; SvStringHashEntry * pHash; @@ -79,7 +79,7 @@ public: ? pHash->GetName() : aString; } - sal_uLong GetNumber() const { return nLong; } + sal_uInt64 GetNumber() const { return nLong; } bool GetBool() const { return bBool; } char GetChar() const { return cChar; } @@ -124,7 +124,7 @@ class SvTokenStream } void FillTokenList(); - sal_uLong GetNumber(); + sal_uInt64 GetNumber(); bool MakeToken( SvToken & ); bool IsEof() const { return pInStream->eof(); } void SetMax() diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx index 2f1e550cec58..599b06136008 100644 --- a/idl/source/cmptools/lex.cxx +++ b/idl/source/cmptools/lex.cxx @@ -148,9 +148,9 @@ char SvTokenStream::GetNextChar() return nChar; } -sal_uLong SvTokenStream::GetNumber() +sal_uInt64 SvTokenStream::GetNumber() { - sal_uLong l = 0; + sal_uInt64 l = 0; short nLog = 10; if( '0' == c ) -- cgit