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

Unified Diff: test/cctest/heap/test-spaces.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/profiler/sampling-heap-profiler.cc ('k') | test/cctest/libplatform/test-tracing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/heap/test-spaces.cc
diff --git a/test/cctest/heap/test-spaces.cc b/test/cctest/heap/test-spaces.cc
index b354df2e3e8e53bf1167ff07bb74d7ffcb539420..0f2083d56c7e3ed5fc376c44774d1313a61fe717 100644
--- a/test/cctest/heap/test-spaces.cc
+++ b/test/cctest/heap/test-spaces.cc
@@ -742,7 +742,7 @@ TEST(ShrinkPageToHighWaterMarkNoFiller) {
CcTest::heap()->old_space()->EmptyAllocationInfo();
const size_t shrinked = page->ShrinkToHighWaterMark();
- CHECK_EQ(0, shrinked);
+ CHECK_EQ(0u, shrinked);
}
TEST(ShrinkPageToHighWaterMarkOneWordFiller) {
@@ -768,7 +768,7 @@ TEST(ShrinkPageToHighWaterMarkOneWordFiller) {
CHECK_EQ(filler->map(), CcTest::heap()->one_pointer_filler_map());
const size_t shrinked = page->ShrinkToHighWaterMark();
- CHECK_EQ(0, shrinked);
+ CHECK_EQ(0u, shrinked);
}
TEST(ShrinkPageToHighWaterMarkTwoWordFiller) {
@@ -794,7 +794,7 @@ TEST(ShrinkPageToHighWaterMarkTwoWordFiller) {
CHECK_EQ(filler->map(), CcTest::heap()->two_pointer_filler_map());
const size_t shrinked = page->ShrinkToHighWaterMark();
- CHECK_EQ(0, shrinked);
+ CHECK_EQ(0u, shrinked);
}
} // namespace internal
« no previous file with comments | « src/profiler/sampling-heap-profiler.cc ('k') | test/cctest/libplatform/test-tracing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698