Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: src/utils.h

Issue 5968004: Fix Solaris build
Patch Set: Use platform.h instead of stdarg.h Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform-solaris.cc ('k') | src/v8utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index 62b8726b802ae30f8d0c64f9343d7849d3f98e9e..5e65a4b9dd91f3360e40cc65e99bc5a4203a470e 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -754,7 +754,7 @@ inline Dest BitCast(const Source& source) {
}
template <class Dest, class Source>
-inline Dest BitCast(Source* source) {
+inline Dest BitCast(Source*& source) {
Erik Corry 2011/01/05 12:23:13 Why is this needed?
ry 2011/01/05 18:34:54 I get many errors like this from GCC 3.4.3. src
return BitCast<Dest>(reinterpret_cast<uintptr_t>(source));
}
« no previous file with comments | « src/platform-solaris.cc ('k') | src/v8utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698