Index: src/profiler/sampling-heap-profiler.cc |
diff --git a/src/profiler/sampling-heap-profiler.cc b/src/profiler/sampling-heap-profiler.cc |
index 3b2ca630acd60bb5d59ede47a2b51da3d931def0..f2a3d4a2cb648268363593ffc1e70d993bb03c2d 100644 |
--- a/src/profiler/sampling-heap-profiler.cc |
+++ b/src/profiler/sampling-heap-profiler.cc |
@@ -65,7 +65,7 @@ SamplingHeapProfiler::SamplingHeapProfiler( |
stack_depth_(stack_depth), |
rate_(rate), |
flags_(flags) { |
- CHECK_GT(rate_, 0); |
+ CHECK_GT(rate_, 0u); |
heap->new_space()->AddAllocationObserver(new_space_observer_.get()); |
AllSpaces spaces(heap); |
for (Space* space = spaces.next(); space != nullptr; space = spaces.next()) { |