Merge pull request #819 from brendanzagaeski/patch-1
[mono.git] / mono / metadata / sgen-archdep.h
index e400d7cc6c8b101e2c73fe93e9c166a292111e05..d0687b2bcaa0247e43892e863a7fec132444695a 100755 (executable)
@@ -89,7 +89,7 @@
 #define ARCH_COPY_SIGCTX_REGS(a,ctx) do {      \
        int __i;        \
        for (__i = 0; __i < 32; ++__i)  \
-               ((a)[__i]) = UCONTEXT_REG_Rn((ctx), __i);       \
+               ((a)[__i]) = (gpointer) UCONTEXT_REG_Rn((ctx), __i);    \
        } while (0)
 
 #elif defined(TARGET_ARM)