aboutsummaryrefslogtreecommitdiff
path: root/www/firefox36/files/patch-xptcinvoke_x86_64_linux
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox36/files/patch-xptcinvoke_x86_64_linux')
-rw-r--r--www/firefox36/files/patch-xptcinvoke_x86_64_linux17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/firefox36/files/patch-xptcinvoke_x86_64_linux b/www/firefox36/files/patch-xptcinvoke_x86_64_linux
new file mode 100644
index 000000000000..724e24089803
--- /dev/null
+++ b/www/firefox36/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;