From: Douglas Gregor Date: Fri, 26 Aug 2011 23:57:29 +0000 (+0000) Subject: Try to unbreak the build on systems where uint64_t isn't something that StringRef... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=484e2b195605cfe92b79b3baf9ea070666f8b332;p=clang Try to unbreak the build on systems where uint64_t isn't something that StringRef::getAsInteger can handle as its second argument git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138680 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ARCMigrate/FileRemapper.cpp b/lib/ARCMigrate/FileRemapper.cpp index 33a1db4d83..2705f66472 100644 --- a/lib/ARCMigrate/FileRemapper.cpp +++ b/lib/ARCMigrate/FileRemapper.cpp @@ -70,7 +70,7 @@ bool FileRemapper::initFromDisk(StringRef outputDir, Diagnostic &Diag, for (unsigned idx = 0; idx+3 <= lines.size(); idx += 3) { std::string fromFilename = lines[idx]; - uint64_t timeModified; + unsigned long long timeModified; lines[idx+1].getAsInteger(10, timeModified); std::string toFilename = lines[idx+2];