patches/thunderbird3-17-compiler-workaround-2.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 16588 1f306865082f
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

--- firefox/js/src/xpconnect/src/xpcquickstubs.cpp.orig	Fri Sep 18 13:17:48 2009
+++ firefox/js/src/xpconnect/src/xpcquickstubs.cpp	Fri Sep 18 13:19:03 2009
@@ -146,7 +146,7 @@
     // The JS engine provides two reserved slots on function objects for
     // XPConnect to use. Use them to stick the necessary info here.
     JSFunction *fun =
-        JS_NewFunction(cx, reinterpret_cast<JSNative>(PropertyOpForwarder),
+        JS_NewFunction(cx, reinterpret_cast<JSNative>((void*)PropertyOpForwarder),
                        argc, JSFUN_FAST_NATIVE, obj, name);
     if(!fun)
         return JS_FALSE;