diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-04-13 01:05:45 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-04-13 01:05:45 +0000 |
commit | a8150b1c90eb3da7511d5dc33b3930357b915e76 (patch) | |
tree | b3b4c03ef9207fac5af88e1a0764654cdc2da73d /llvm/runtime/libprofile/LineProfiling.c | |
parent | 69955f6cdc73c62e3b7beff1d4496a79d9307de0 (diff) | |
download | bcm5719-llvm-a8150b1c90eb3da7511d5dc33b3930357b915e76.tar.gz bcm5719-llvm-a8150b1c90eb3da7511d5dc33b3930357b915e76.zip |
Use %ull here.
llvm-svn: 129423
Diffstat (limited to 'llvm/runtime/libprofile/LineProfiling.c')
-rw-r--r-- | llvm/runtime/libprofile/LineProfiling.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/runtime/libprofile/LineProfiling.c b/llvm/runtime/libprofile/LineProfiling.c index 39cdc720c5e..786dc6e8e12 100644 --- a/llvm/runtime/libprofile/LineProfiling.c +++ b/llvm/runtime/libprofile/LineProfiling.c @@ -31,7 +31,8 @@ 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 %" PRIu64 "\n", dir, file, line, column, *counter); + printf("%s/%s:%u:%u %ull\n", dir, file, line, column, + (unsigned long long)(*counter)); } void llvm_prof_linectr_end_file() { |