| Index: runtime/vm/snapshot.cc
|
| diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
|
| index f1c5fd908411c08653e80e12e72241d0cdf694f9..9729267de0e81b48f2d4bf086de63f1332564100 100644
|
| --- a/runtime/vm/snapshot.cc
|
| +++ b/runtime/vm/snapshot.cc
|
| @@ -257,7 +257,7 @@ void SnapshotWriter::WriteObject(RawObject* rawobj) {
|
|
|
| // First check if it is a Smi (i.e not a heap object).
|
| if (!rawobj->IsHeapObject()) {
|
| - Write<int64_t>(reinterpret_cast<int64_t>(rawobj));
|
| + Write<int64_t>(reinterpret_cast<intptr_t>(rawobj));
|
| return;
|
| }
|
|
|
|
|