diff options
author | Shubham Verma <lifemeansmore008@gmail.com> | 2018-02-23 00:21:07 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-02-27 17:51:42 +0100 |
commit | 0b49701fa5c22abba6b9b4a60ddd2720973dd858 (patch) | |
tree | fe3feb78388d8e6bf05f3a3f6378d7361595b54b /idl | |
parent | 49c3bab770ea579d96aa3ea79e1d4ff304f42334 (diff) |
tdf#114441 sal_uLong to better integer types
Change-Id: I55b45821cf67a99f97ba067a3d4923d76c19696e
Reviewed-on: https://gerrit.libreoffice.org/50204
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'idl')
-rw-r--r-- | idl/inc/lex.hxx | 6 | ||||
-rw-r--r-- | idl/source/cmptools/lex.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
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 ) |