aboutsummaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-xptcinvoke_x86_64_linux
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
commit40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch)
treed70bbf882801af3a4e58dde3ed6a1da1849479d4 /www/firefox/files/patch-xptcinvoke_x86_64_linux
parenta9f801a2186fcb89f70f7dcb211c6d4922c0e3af (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_0_0'.release/6.0.0
Notes
Notes: svn path=/head/; revision=145533 svn path=/tags/RELEASE_6_0_0/; revision=145534; tag=release/6.0.0
Diffstat (limited to 'www/firefox/files/patch-xptcinvoke_x86_64_linux')
-rw-r--r--www/firefox/files/patch-xptcinvoke_x86_64_linux17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/firefox/files/patch-xptcinvoke_x86_64_linux b/www/firefox/files/patch-xptcinvoke_x86_64_linux
new file mode 100644
index 000000000000..724e24089803
--- /dev/null
+++ b/www/firefox/files/patch-xptcinvoke_x86_64_linux
@@ -0,0 +1,17 @@
+--- xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp Thu Apr 22 16:50:05 2004
++++ xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp Fri Aug 5 02:16:00 2005
+@@ -82,11 +82,11 @@
+ PRUint64 value;
+
+- for (uint32 i = 0; i < paramCount; i++, s++) {
++ for (unsigned int i = 0; i < paramCount; i++, s++) {
+ if (s->IsPtrData())
+ value = (PRUint64) s->ptr;
+ else {
+ switch (s->type) {
+- case nsXPTType::T_FLOAT: break;
+- case nsXPTType::T_DOUBLE: break;
++ case nsXPTType::T_FLOAT:
++ case nsXPTType::T_DOUBLE: value = 0; /* initialize */ break;
+ case nsXPTType::T_I8: value = s->val.i8; break;
+ case nsXPTType::T_I16: value = s->val.i16; break;