Browse Source

Fix V8 build for old gcc

also sent upstream: http://codereview.chromium.org/3130033/show
v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
0906f945be
  1. 2
      deps/v8/src/utils.h

2
deps/v8/src/utils.h

@ -740,7 +740,7 @@ inline Dest BitCast(const Source& source) {
} }
template <class Dest, class Source> template <class Dest, class Source>
inline Dest BitCast(Source* const & source) { inline Dest BitCast(Source* & source) {
return BitCast<Dest>(reinterpret_cast<uintptr_t>(source)); return BitCast<Dest>(reinterpret_cast<uintptr_t>(source));
} }

Loading…
Cancel
Save