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

Unified Diff: src/objects.cc

Issue 2496913002: Fix more -Wsign-compare warnings in heap, mips, base, etc. (Closed)
Patch Set: 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 | « src/mips64/simulator-mips64.cc ('k') | src/perf-jit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 89c40c1022b9046b3e31692270cdb01d414cd7fd..aa4186f7e7500a8bf2bda11e18134c7998facc1e 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -20310,7 +20310,7 @@ Handle<JSModuleNamespace> Module::GetModuleNamespace(Handle<Module> module) {
DCHECK(exports->ValueAt(i)->IsCell());
names.push_back(Handle<String>::cast(key));
}
- DCHECK_EQ(names.size(), exports->NumberOfElements());
+ DCHECK_EQ(static_cast<int>(names.size()), exports->NumberOfElements());
// Sort them alphabetically.
struct {
« no previous file with comments | « src/mips64/simulator-mips64.cc ('k') | src/perf-jit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698