summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/FileLexer.cpp.cvs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-18 22:28:27 +0000
committerChris Lattner <sabre@nondot.org>2006-09-18 22:28:27 +0000
commit82a73a198924bcaf148bf0e4a052f1faeb66e305 (patch)
tree5ab77af0ec1d861ac942eca71beebc16054c6d71 /llvm/utils/TableGen/FileLexer.cpp.cvs
parent165f3447211cce2ac90326356a2a3ed99c89d98e (diff)
downloadbcm5719-llvm-82a73a198924bcaf148bf0e4a052f1faeb66e305.tar.gz
bcm5719-llvm-82a73a198924bcaf148bf0e4a052f1faeb66e305.zip
Fix Regression/TableGen/2006-09-18-LargeInt.td
llvm-svn: 30472
Diffstat (limited to 'llvm/utils/TableGen/FileLexer.cpp.cvs')
-rw-r--r--llvm/utils/TableGen/FileLexer.cpp.cvs4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/FileLexer.cpp.cvs b/llvm/utils/TableGen/FileLexer.cpp.cvs
index dffd220a446..b806f065e43 100644
--- a/llvm/utils/TableGen/FileLexer.cpp.cvs
+++ b/llvm/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;
OpenPOWER on IntegriCloud