SHA256
1
0
forked from pool/mono-core
mono-core/fix-ppc-64bit-portability-issue.patch

13 lines
612 B
Diff

diff -uprN mono-5.14.0.177.old/mono/mini/exceptions-ppc.c mono-5.14.0.177/mono/mini/exceptions-ppc.c
--- mono-5.14.0.177.old/mono/mini/exceptions-ppc.c 2018-08-07 10:46:01.000000000 +0300
+++ mono-5.14.0.177/mono/mini/exceptions-ppc.c 2018-08-11 01:03:25.219208741 +0300
@@ -796,7 +796,7 @@ mono_arch_setup_async_callback (MonoCont
sp -= PPC_MINIMAL_STACK_SIZE;
*(unsigned long *)sp = MONO_CONTEXT_GET_SP(ctx);
MONO_CONTEXT_SET_BP(ctx, sp);
- mono_arch_setup_resume_sighandler_ctx(ctx, (unsigned long) async_cb);
+ mono_arch_setup_resume_sighandler_ctx((MonoContext *)ctx, (gpointer) async_cb);
}
void