diff options
Diffstat (limited to 'utils/TableGen/FileLexer.l.cvs')
-rw-r--r-- | utils/TableGen/FileLexer.l.cvs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/FileLexer.l.cvs b/utils/TableGen/FileLexer.l.cvs index 7c9151f00f..c1a7ec06ad 100644 --- a/utils/TableGen/FileLexer.l.cvs +++ b/utils/TableGen/FileLexer.l.cvs @@ -42,8 +42,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; |