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

Unified Diff: third_party/android_crazy_linker/src/tests/bar_with_relro.cpp

Issue 328153002: Roll to android/platform/ndk/681f1b744aec1b0888f4c7a68165720db9670300 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fork
Patch Set: Created 6 years, 6 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: 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);
}
}

Powered by Google App Engine
This is Rietveld 408576698