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

Unified Diff: src/serialize.cc

Issue 442003: Fix 64 bit build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 1 month 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: src/serialize.cc
===================================================================
--- src/serialize.cc (revision 3360)
+++ src/serialize.cc (working copy)
@@ -55,9 +55,9 @@
static int MappedTo(HeapObject* obj) {
ASSERT(IsMapped(obj));
- return reinterpret_cast<int>(serialization_map_->Lookup(Key(obj),
- Hash(obj),
- false)->value);
+ return reinterpret_cast<intptr_t>(serialization_map_->Lookup(Key(obj),
+ Hash(obj),
+ false)->value);
}
static void Map(HeapObject* obj, int to) {
@@ -81,7 +81,7 @@
}
static uint32_t Hash(HeapObject* obj) {
- return reinterpret_cast<uint32_t>(obj->address());
+ return reinterpret_cast<intptr_t>(obj->address());
}
static void* Key(HeapObject* obj) {
« 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