Index: third_party/android_crazy_linker/src/tests/foo_with_relro.cpp |
diff --git a/third_party/android_crazy_linker/src/tests/foo_with_relro.cpp b/third_party/android_crazy_linker/src/tests/foo_with_relro.cpp |
index 67ef98ef45afa03f17e13f0951e52ea44f37b17c..c69a3193cbd26ff49af1842e62af99b1c67fbb2e 100644 |
--- a/third_party/android_crazy_linker/src/tests/foo_with_relro.cpp |
+++ b/third_party/android_crazy_linker/src/tests/foo_with_relro.cpp |
@@ -21,7 +21,7 @@ extern "C" void Foo() { |
for (size_t n = 0; n < sizeof(kStrings) / sizeof(kStrings[0]); ++n) { |
const char* ptr = kStrings[n]; |
if (strcmp(ptr, "some example string")) { |
- printf("%s: Bad string at offset=%d\n", __FUNCTION__, n); |
+ printf("%s: Bad string at offset=%zu\n", __FUNCTION__, n); |
exit(1); |
} |
} |