Index: third_party/android_crazy_linker/src/tests/bar_with_relro.cpp |
diff --git a/third_party/android_crazy_linker/src/tests/bar_with_relro.cpp b/third_party/android_crazy_linker/src/tests/bar_with_relro.cpp |
index 46a05f6f825e822865429a45661e8e37c78ba7ed..9e35a0f5c5ea7eb8778b4d08287ba3c486b8949c 100644 |
--- a/third_party/android_crazy_linker/src/tests/bar_with_relro.cpp |
+++ b/third_party/android_crazy_linker/src/tests/bar_with_relro.cpp |
@@ -30,7 +30,7 @@ extern "C" void Bar() { |
for (size_t n = 0; n < sizeof(kStrings) / sizeof(kStrings[0]); ++n) { |
const char* ptr = kStrings[n]; |
if (strcmp(ptr, "another example string")) { |
- printf("%s: Bad string at offset=%d\n", __FUNCTION__, n); |
+ printf("%s: Bad string at offset=%zu\n", __FUNCTION__, n); |
Anton
2014/06/11 15:31:54
Style guide says %"PRIuS" :-(
|
exit(1); |
} |
} |