From 0906f945bea1fb75824127f4c5209aa9ad927460 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 18 Aug 2010 22:50:12 -0700 Subject: [PATCH] Fix V8 build for old gcc also sent upstream: http://codereview.chromium.org/3130033/show --- deps/v8/src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/v8/src/utils.h b/deps/v8/src/utils.h index d15319c7a1..2d0a1bfbdc 100644 --- a/deps/v8/src/utils.h +++ b/deps/v8/src/utils.h @@ -740,7 +740,7 @@ inline Dest BitCast(const Source& source) { } template -inline Dest BitCast(Source* const & source) { +inline Dest BitCast(Source* & source) { return BitCast(reinterpret_cast(source)); }