diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-18 22:28:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-18 22:28:27 +0000 |
commit | a4503de431e47c041eec5152810e843f76f56d58 (patch) | |
tree | ce7546526cbd4864865654e5ab2307f6aa506bd0 /utils/TableGen/FileLexer.cpp.cvs | |
parent | 02982501a722205ef3f63b9eef6b91f583b79351 (diff) |
Fix Regression/TableGen/2006-09-18-LargeInt.td
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30472 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/FileLexer.cpp.cvs')
-rw-r--r-- | utils/TableGen/FileLexer.cpp.cvs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/FileLexer.cpp.cvs b/utils/TableGen/FileLexer.cpp.cvs index dffd220a44..b806f065e4 100644 --- a/utils/TableGen/FileLexer.cpp.cvs +++ b/utils/TableGen/FileLexer.cpp.cvs @@ -535,8 +535,8 @@ std::vector<std::string> IncludeDirectories; /// static int ParseInt(const char *Str) { if (Str[0] == '0' && Str[1] == 'b') - return strtol(Str+2, 0, 2); - return strtol(Str, 0, 0); + return strtoll(Str+2, 0, 2); + return strtoll(Str, 0, 0); } static int CommentDepth = 0; |