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 | 8a7f4ecbc1eca4359f56e76f74f6211943eafd68 (patch) | |
tree | 637be1b868710de3ba0df8c1906f30cfc53dbc08 /runtime | |
parent | 87896d9368e08d93493427ce7bf8272d1e5cca35 (diff) | |
download | external_llvm-8a7f4ecbc1eca4359f56e76f74f6211943eafd68.zip external_llvm-8a7f4ecbc1eca4359f56e76f74f6211943eafd68.tar.gz external_llvm-8a7f4ecbc1eca4359f56e76f74f6211943eafd68.tar.bz2 |
Use %ull here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/libprofile/LineProfiling.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/libprofile/LineProfiling.c b/runtime/libprofile/LineProfiling.c index 39cdc72..786dc6e 100644 --- a/runtime/libprofile/LineProfiling.c +++ b/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() { |