[llvm] r196882 - GCOV.cpp: Use PRIu64 instead of %lu.
NAKAMURA Takumi
geek4civic at gmail.com
Mon Dec 9 21:39:40 PST 2013
Author: chapuni
Date: Mon Dec 9 23:39:40 2013
New Revision: 196882
URL: http://llvm.org/viewvc/llvm-project?rev=196882&view=rev
Log:
GCOV.cpp: Use PRIu64 instead of %lu.
Modified:
llvm/trunk/lib/IR/GCOV.cpp
Modified: llvm/trunk/lib/IR/GCOV.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/GCOV.cpp?rev=196882&r1=196881&r2=196882&view=diff
==============================================================================
--- llvm/trunk/lib/IR/GCOV.cpp (original)
+++ llvm/trunk/lib/IR/GCOV.cpp Mon Dec 9 23:39:40 2013
@@ -426,7 +426,7 @@ void FileInfo::print(StringRef GCNOFile,
if (Block->getCount() == 0)
OS << " $$$$$:";
else
- OS << format("%9lu:", Block->getCount());
+ OS << format("%9" PRIu64 ":", (uint64_t)Block->getCount());
OS << format("%5u-block %u\n", i+1, BlockNo++);
}
}
More information about the llvm-commits
mailing list