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

Unified Diff: tools/android/memconsumer/memconsumer_hook.cc

Issue 1551313002: Enable -Wformat in linux, android, chromeos, cast builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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
« no previous file with comments | « tools/android/file_poller/file_poller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/memconsumer/memconsumer_hook.cc
diff --git a/tools/android/memconsumer/memconsumer_hook.cc b/tools/android/memconsumer/memconsumer_hook.cc
index 9ae0bc14f03c03d77360db44a09c45eb02b9e569..78a98d94a96064f83be834810bb06acf4defbaa2 100644
--- a/tools/android/memconsumer/memconsumer_hook.cc
+++ b/tools/android/memconsumer/memconsumer_hook.cc
@@ -42,7 +42,7 @@ JNIEXPORT void JNICALL
if (!g_memory) {
__android_log_print(ANDROID_LOG_WARN,
"MemConsumer",
- "Unable to allocate %ld bytes",
+ "Unable to allocate %lld bytes",
memory);
}
// If memory allocation failed, try to allocate as much as possible.
« no previous file with comments | « tools/android/file_poller/file_poller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698