Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Unified Diff: runtime/szrt_profiler.c

Issue 1273153002: Subzero. Native 64-bit int arithmetic on x86-64. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/szrt_profiler.c
diff --git a/runtime/szrt_profiler.c b/runtime/szrt_profiler.c
index e31692ea6d6ee5c2b80ca910a6a6648c08f23c8c..34a647ac2ec6bb584c4509fa0edf855717243942 100644
--- a/runtime/szrt_profiler.c
+++ b/runtime/szrt_profiler.c
@@ -1,3 +1,4 @@
+#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>
@@ -53,7 +54,7 @@ void __Sz_profile_summary() {
printf("%s", SubzeroLogo);
for (const struct BlockProfileInfo **curr = &__Sz_block_profile_info;
*curr != NULL; ++curr) {
- printf("%lld\t%s\n", (*curr)->Counter, (*curr)->BlockName);
+ printf("%" PRIu64 "\t%s\n", (*curr)->Counter, (*curr)->BlockName);
}
fflush(stdout);
}

Powered by Google App Engine
This is Rietveld 408576698