summaryrefslogtreecommitdiff
path: root/runtime/libprofile/LineProfiling.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/libprofile/LineProfiling.c')
-rw-r--r--runtime/libprofile/LineProfiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/LineProfiling.c b/runtime/libprofile/LineProfiling.c
index 6e6fa196be..4116ab9504 100644
--- a/runtime/libprofile/LineProfiling.c
+++ b/runtime/libprofile/LineProfiling.c
@@ -28,7 +28,7 @@ void llvm_prof_linectr_start_file(const char *orig_filename) {
/* Emit data about a counter to the data file. */
void llvm_prof_linectr_emit_counter(const char *dir, const char *file,
uint32_t line, uint32_t column,
- int64_t *counter) {
+ uint64_t *counter) {
printf("%s/%s:%u:%u %lu\n", dir, file, line, column, *counter);
}