From b3a95058b34d3f70e970791e9237db380cacb2f6 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Wed, 27 Nov 2024 18:04:59 +0000 Subject: [PATCH] [vm/gardening] Fix int64_t/intptr_t type mismatch. BUG=https://github.com/dart-lang/sdk/issues/59624 TEST=ci, manually on flutter Change-Id: I40c2c2cc477f44ea508bf486a3fa23768b4caeef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397940 Commit-Queue: Alexander Aprelev Reviewed-by: Ryan Macnak --- runtime/vm/simulator_arm64.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {