diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-02-23 17:52:50 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-02-23 17:52:50 -0800 |
commit | b80bdda14e2213e928d3dc3895b3c680d2ea674a (patch) | |
tree | 54f55fe0d2f2cf75cf1026e7dd01ca13d67f4254 /deps/v8/src/serialize.cc | |
parent | df1c1e593f8aac17e6edd8aa1fe278893b2e5a39 (diff) | |
download | node-b80bdda14e2213e928d3dc3895b3c680d2ea674a.tar.gz |
Upgrade V8 to 2.1.2
Diffstat (limited to 'deps/v8/src/serialize.cc')
-rw-r--r-- | deps/v8/src/serialize.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/serialize.cc b/deps/v8/src/serialize.cc index bc934fb5a..0819ec224 100644 --- a/deps/v8/src/serialize.cc +++ b/deps/v8/src/serialize.cc @@ -852,10 +852,10 @@ void SnapshotByteSink::PutInt(uintptr_t integer, const char* description) { const int max_shift = ((kPointerSize * kBitsPerByte) / 7) * 7; for (int shift = max_shift; shift > 0; shift -= 7) { if (integer >= static_cast<uintptr_t>(1u) << shift) { - Put(((integer >> shift) & 0x7f) | 0x80, "IntPart"); + Put((static_cast<int>((integer >> shift)) & 0x7f) | 0x80, "IntPart"); } } - PutSection(integer & 0x7f, "IntLastPart"); + PutSection(static_cast<int>(integer & 0x7f), "IntLastPart"); } #ifdef DEBUG |