[cfe-commits] r143870 - /cfe/trunk/lib/AST/VTableBuilder.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sun Nov 6 01:34:12 PST 2011
Author: d0k
Date: Sun Nov 6 03:34:11 2011
New Revision: 143870
URL: http://llvm.org/viewvc/llvm-project?rev=143870&view=rev
Log:
Make format string 64 bit safe.
Modified:
cfe/trunk/lib/AST/VTableBuilder.cpp
Modified: cfe/trunk/lib/AST/VTableBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/VTableBuilder.cpp?rev=143870&r1=143869&r2=143870&view=diff
==============================================================================
--- cfe/trunk/lib/AST/VTableBuilder.cpp (original)
+++ cfe/trunk/lib/AST/VTableBuilder.cpp Sun Nov 6 03:34:11 2011
@@ -2136,7 +2136,7 @@
uint64_t VTableIndex = I->first;
const std::string &MethodName = I->second;
- Out << llvm::format(" %4u | ", VTableIndex) << MethodName << '\n';
+ Out << llvm::format(" %4"PRIu64" | ", VTableIndex) << MethodName << '\n';
}
}
More information about the cfe-commits
mailing list