Use %ull here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129423 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2011-04-13 01:05:45 +00:00
parent 87896d9368
commit 8a7f4ecbc1

View File

@ -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() {