Index: runtime/vm/clustered_snapshot.cc |
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc |
index d2f899cb88409a5b57812048eaffc777be6ab566..0108528baaa2936beb97d5d2b2d08468f605a852 100644 |
--- a/runtime/vm/clustered_snapshot.cc |
+++ b/runtime/vm/clustered_snapshot.cc |
@@ -1613,7 +1613,7 @@ class ObjectPoolSerializationCluster : public SerializationCluster { |
break; |
} |
case ObjectPool::kImmediate: { |
- s->Write<int32_t>(entry.raw_value_); |
+ s->Write<intptr_t>(entry.raw_value_); |
break; |
} |
case ObjectPool::kNativeEntry: { |
@@ -1679,7 +1679,7 @@ class ObjectPoolDeserializationCluster : public DeserializationCluster { |
entry.raw_obj_ = d->ReadRef(); |
break; |
case ObjectPool::kImmediate: |
- entry.raw_value_ = d->Read<int32_t>(); |
+ entry.raw_value_ = d->Read<intptr_t>(); |
break; |
case ObjectPool::kNativeEntry: { |
#if !defined(TARGET_ARCH_DBC) |