Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index 6e0d2e7b2fa2ed25de0411ee017be15cd261cab6..fe521dae39d2cb57caaeb8e7987579f282647823 100644 |
--- a/runtime/vm/intermediate_language.cc |
+++ b/runtime/vm/intermediate_language.cc |
@@ -380,7 +380,7 @@ intptr_t CheckClassInstr::ComputeCidMask() const { |
for (intptr_t i = 0; i < cids_.length(); ++i) { |
intptr_t run; |
uintptr_t range = 1ul + cids_[i].Extent(); |
- if (range >= kBitsPerWord) { |
+ if (range >= static_cast<uintptr_t>(kBitsPerWord)) { |
run = -1; |
} else { |
run = (1 << range) - 1; |