Index: tools/android/heap_profiler/heap_profiler_unittest.cc |
diff --git a/tools/android/heap_profiler/heap_profiler_unittest.cc b/tools/android/heap_profiler/heap_profiler_unittest.cc |
index 7b9aedd3d1bb13c562a804cf2bf1ea9119ae8d72..893f214d808413c5961df45dfa431bba593b80c7 100644 |
--- a/tools/android/heap_profiler/heap_profiler_unittest.cc |
+++ b/tools/android/heap_profiler/heap_profiler_unittest.cc |
@@ -434,8 +434,8 @@ TEST_F(HeapProfilerTest, Test64Bit) { |
(void*)0x7ffffffffffff000L, 4096, st2.frames, st2.depth, 0); |
heap_profiler_alloc( |
(void*)0xfffffffffffff000L, 4096, st3.frames, st3.depth, 0); |
- EXPECT_EQ(3, stats_.num_allocs); |
- EXPECT_EQ(3, stats_.num_stack_traces); |
+ EXPECT_EQ(3u, stats_.num_allocs); |
+ EXPECT_EQ(3u, stats_.num_stack_traces); |
EXPECT_EQ(4096u + 4096 + 4096, stats_.total_alloc_bytes); |
heap_profiler_free((void*)0x1000, 4096, NULL); |