Chromium Code Reviews| Index: vm/snapshot.h |
| =================================================================== |
| --- vm/snapshot.h (revision 12729) |
| +++ vm/snapshot.h (working copy) |
| @@ -165,7 +165,7 @@ |
| intptr_t ReadIntptrValue() { |
| int64_t value = Read<int64_t>(); |
| ASSERT((value <= kIntptrMax) && (value >= kIntptrMin)); |
| - return value; |
| + return static_cast<intptr_t>(value); |
| } |
| void ReadBytes(uint8_t* addr, intptr_t len) { |