This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix V8 build for old gcc

  • Loading branch information...
1 parent 28b21d1 commit 0906f945bea1fb75824127f4c5209aa9ad927460 @ry ry committed Aug 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 deps/v8/src/utils.h
View
@@ -740,7 +740,7 @@ inline Dest BitCast(const Source& 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));
}

0 comments on commit 0906f94

Please sign in to comment.