Index: runtime/vm/flow_graph_optimizer.cc |
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc |
index 46f4cd91c97bcccea30b832ee3e3465170193fb5..9c78882a05bb65ad441a81cc8346a75f85aaef0c 100644 |
--- a/runtime/vm/flow_graph_optimizer.cc |
+++ b/runtime/vm/flow_graph_optimizer.cc |
@@ -6116,7 +6116,7 @@ class AliasedSet : public ZoneAllocated { |
intptr_t LookupAliasId(const Place& alias) { |
const Place* result = aliases_map_.Lookup(&alias); |
- return (result != NULL) ? result->id() : kNoAlias; |
+ return (result != NULL) ? result->id() : static_cast<intptr_t>(kNoAlias); |
} |
bool IsStore(Instruction* instr, BitVector** killed) { |