opnsense-ports/devel/dyncall/files/patch-dyncallback_dyncall__thunk__ppc32__sysv.c
Franco Fichtner 01043d630f */*: sync with upstream
Taken from: FreeBSD
2023-10-12 16:02:20 +02:00

13 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)())
{