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

Unified Diff: runtime/vm/snapshot.h

Issue 9003015: Extend sign bit before serializing it. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years 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 | runtime/vm/snapshot.cc » ('j') | runtime/vm/snapshot.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.h
===================================================================
--- runtime/vm/snapshot.h (revision 2849)
+++ runtime/vm/snapshot.h (working copy)
@@ -355,7 +355,7 @@
// Writes an intptr_t type value out.
void WriteIntptrValue(intptr_t value) {
- Write<int64_t>(value);
+ Write<int64_t>(static_cast<int64_t>(value));
siva 2012/01/03 22:55:17 Is this cast necessary, isn't there an implicit ca
}
// Write an object that is serialized as an Id (singleton, object store,
« no previous file with comments | « no previous file | runtime/vm/snapshot.cc » ('j') | runtime/vm/snapshot.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698