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

Unified Diff: src/api.cc

Issue 1147923002: Fix another -Wsign-compare bug with GCC 4.9.2. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index a68823822142cd8cbbfd8358bf61214624b276a0..202fec6b111f0c99458e3a78dc973fbcdbb4c050 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -6936,8 +6936,8 @@ bool Isolate::GetHeapObjectStatisticsAtLastGC(
size_t object_size = heap->object_size_last_gc(type_index);
if (!heap->GetObjectTypeName(type_index, &object_type, &object_sub_type)) {
// There should be no objects counted when the type is unknown.
- DCHECK_EQ(object_count, 0);
- DCHECK_EQ(object_size, 0);
+ DCHECK_EQ(object_count, 0U);
+ DCHECK_EQ(object_size, 0U);
return false;
}
« 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