diff --git a/runtime/vm/simulator_arm64.cc b/runtime/vm/simulator_arm64.cc index 9e20bca29dbc..e879c8709370 100644 --- a/runtime/vm/simulator_arm64.cc +++ b/runtime/vm/simulator_arm64.cc @@ -1214,7 +1214,7 @@ intptr_t Simulator::WriteExclusiveX(uword addr, intptr_t value, Instr* instr) { return 1; // Failure. } - int64_t old_value = exclusive_access_value_; + intptr_t old_value = exclusive_access_value_; ClearExclusive(); if ((random_.NextUInt32() % 16) == 0) {