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

Unified Diff: test/fuzzer/fuzzer.cc

Issue 2487673004: [wasm] Fix -Wsign-compare warnings. (Closed)
Patch Set: address comments Created 4 years, 1 month 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 | « test/cctest/wasm/test-run-wasm-interpreter.cc ('k') | test/fuzzer/wasm-call.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/fuzzer/fuzzer.cc
diff --git a/test/fuzzer/fuzzer.cc b/test/fuzzer/fuzzer.cc
index 71a26b86b379eb428a63ae1063b9b352edf5c01f..cb4a287d7008c7bb3542a9ffad1009d41dd23cb8 100644
--- a/test/fuzzer/fuzzer.cc
+++ b/test/fuzzer/fuzzer.cc
@@ -42,7 +42,7 @@ int main(int argc, char* argv[]) {
size_t bytes_read = fread(data, 1, size, input);
fclose(input);
- if (bytes_read != size) {
+ if (bytes_read != static_cast<size_t>(size)) {
free(data);
fprintf(stderr, "Failed to read %s\n", argv[1]);
return 1;
« no previous file with comments | « test/cctest/wasm/test-run-wasm-interpreter.cc ('k') | test/fuzzer/wasm-call.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698