diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-04-13 20:41:43 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-04-13 20:41:43 +0000 |
commit | 8b505739f4a50916261a4624ed067d6923cc43a9 (patch) | |
tree | 575c6538b680cfe3501592cc0c998e29384fb753 | |
parent | 1335022e1983d81bd680a082046544af22496054 (diff) | |
download | external_llvm-8b505739f4a50916261a4624ed067d6923cc43a9.zip external_llvm-8b505739f4a50916261a4624ed067d6923cc43a9.tar.gz external_llvm-8b505739f4a50916261a4624ed067d6923cc43a9.tar.bz2 |
Fix format string warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129467 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | runtime/libprofile/LineProfiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/LineProfiling.c b/runtime/libprofile/LineProfiling.c index 786dc6e..9db789e 100644 --- a/runtime/libprofile/LineProfiling.c +++ b/runtime/libprofile/LineProfiling.c @@ -31,7 +31,7 @@ void llvm_prof_linectr_start_file(const char *orig_filename) { 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)); } |