From c438cc6adc172a76c71b7d6f248bfc3503c39bab Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Tue, 10 Dec 2024 14:57:03 +0300 Subject: Fix various function pointer types Fixes Wincompatible-pointer-types errors on GCC 15. Signed-off-by: Sergey Bugaev Message-ID: <20241210115705.710555-1-bugaevc@gmail.com> --- i386/i386/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386') diff --git a/i386/i386/trap.c b/i386/i386/trap.c index 555d7498..a9d0d8d2 100644 --- a/i386/i386/trap.c +++ b/i386/i386/trap.c @@ -245,7 +245,7 @@ dump_ss(regs); #endif FALSE, FALSE, - (void (*)()) 0); + vm_fault_no_continuation); #if MACH_KDB if (result == KERN_SUCCESS) { /* Look for watchpoints */ -- cgit v1.2.3