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

Unified Diff: tools/android/heap_profiler/heap_profiler_unittest.cc

Issue 1586033002: [Android] Fix sign of integer literal in test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698