Reviewers: Benedikt Meurer,

Description:
Fix compile errors in r24826.

[email protected]

Please review this at https://codereview.chromium.org/656793005/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M src/serialize.h


Index: src/serialize.h
diff --git a/src/serialize.h b/src/serialize.h
index 6cc3cf497b37c68780d493cb5103a91180de8d2d..de2ef2b47a40183e48fca7bc15853894ff81c974 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -146,7 +146,7 @@ class AddressMapBase {
   }

   static uint32_t GetValue(HashMap::Entry* entry) {
-    return reinterpret_cast<uint32_t>(entry->value);
+    return static_cast<uint32_t>(reinterpret_cast<intptr_t>(entry->value));
   }

   static HashMap::Entry* LookupEntry(HashMap* map, HeapObject* obj,


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to