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. |