Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index 9d86bbd657b5fde617ec05381de9e51cc06e1202..05354eaccf1359509ac6189fd5208b94620a0f09 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -179,7 +179,7 @@ class ElementsAccessor { |
// Returns a shared ElementsAccessor for the specified ElementsKind. |
static ElementsAccessor* ForKind(ElementsKind elements_kind) { |
- DCHECK(elements_kind < kElementsKindCount); |
+ DCHECK(static_cast<int>(elements_kind) < kElementsKindCount); |
return elements_accessors_[elements_kind]; |
} |