aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/FileLexer.cpp.cvs
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/FileLexer.cpp.cvs')
-rw-r--r--utils/TableGen/FileLexer.cpp.cvs4
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;