Chromium Code Reviews| 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)); |
|
Benedikt Meurer
2014/10/23 08:58:08
Why not just
return reinterpret_cast<uintptr_t>
|
| } |
| static HashMap::Entry* LookupEntry(HashMap* map, HeapObject* obj, |