Files
ports/devel/dyncall/files/patch-dyncallback_dyncall__thunk__ppc32__sysv.c
T
2026-10-04 04:07:15 +00:00

14 lines
602 B
C

--- dyncallback/dyncall_thunk_ppc32_sysv.c.orig 2023-10-10 15:09:47 UTC
+++ dyncallback/dyncall_thunk_ppc32_sysv.c
@@ -25,8 +25,8 @@
#include "dyncall_thunk.h"
-static unsigned short hi16(x) { return ( (unsigned short) (((unsigned int)x)>>16UL) ); }
-static unsigned short lo16(x) { return ( (unsigned short) ((unsigned int)x) ); }
+static unsigned short hi16(DCThunk* x) { return ( (unsigned short) (((unsigned int)x)>>16UL) ); }
+static unsigned short lo16(DCThunk* x) { return ( (unsigned short) ((unsigned int)x) ); }
void dcbInitThunk(DCThunk* p, void (*entry)())
{