summaryrefslogtreecommitdiff
path: root/xpcom
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2017-06-29 15:12:34 +0200
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2017-06-29 15:12:34 +0200
commitd8d1f6611c15a395cd766cff19665b1deed225cb (patch)
tree8db54fc4ec572a4a0f00f15ab0f0c160757a7bdf /xpcom
parent165872a800781072aaf1ef03ac5e0663c36a414d (diff)
downloadpalemoon-gre-d8d1f6611c15a395cd766cff19665b1deed225cb.tar.gz
xpcom: Fix type of result in NS_InvokeByIndex on Linux/m68k
Diffstat (limited to 'xpcom')
-rw-r--r--xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_m68k.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_m68k.cpp b/xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_m68k.cpp
index 6f2934cbc..a64fd62cd 100644
--- a/xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_m68k.cpp
+++ b/xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_m68k.cpp
@@ -100,7 +100,8 @@ EXPORT_XPCOM_API(nsresult)
NS_InvokeByIndex(nsISupports* that, uint32_t methodIndex,
uint32_t paramCount, nsXPTCVariant* params)
{
- uint32_t result, n;
+ nsresult result;
+ uint32_t n;
n = invoke_count_words(paramCount, params) * 4;