[llvm-commits] [llvm] r129467 - /llvm/trunk/runtime/libprofile/LineProfiling.c
Benjamin Kramer
benny.kra at googlemail.com
Wed Apr 13 13:41:43 PDT 2011
Author: d0k
Date: Wed Apr 13 15:41:43 2011
New Revision: 129467
URL: http://llvm.org/viewvc/llvm-project?rev=129467&view=rev
Log:
Fix format string warning.
Modified:
llvm/trunk/runtime/libprofile/LineProfiling.c
Modified: llvm/trunk/runtime/libprofile/LineProfiling.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtime/libprofile/LineProfiling.c?rev=129467&r1=129466&r2=129467&view=diff
==============================================================================
--- llvm/trunk/runtime/libprofile/LineProfiling.c (original)
+++ llvm/trunk/runtime/libprofile/LineProfiling.c Wed Apr 13 15:41:43 2011
@@ -31,7 +31,7 @@
void llvm_prof_linectr_emit_counter(const char *dir, const char *file,
uint32_t line, uint32_t column,
uint64_t *counter) {
- printf("%s/%s:%u:%u %ull\n", dir, file, line, column,
+ printf("%s/%s:%u:%u %llu\n", dir, file, line, column,
(unsigned long long)(*counter));
}
More information about the llvm-commits
mailing list