Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1165)

Unified Diff: runtime/vm/snapshot.cc

Issue 9091016: Fix sign extension issue with clang/gcc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698