aboutsummaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2024-12-10 14:57:03 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-10 18:51:14 +0100
commitc438cc6adc172a76c71b7d6f248bfc3503c39bab (patch)
treef52ce4366290db522c5cd76e8d722bfccc3e99fa /i386
parent5d1a540211adc9f9f96b80f2c037369b85b9edbd (diff)
downloadgnumach-c438cc6adc172a76c71b7d6f248bfc3503c39bab.tar.gz
gnumach-c438cc6adc172a76c71b7d6f248bfc3503c39bab.tar.bz2
gnumach-c438cc6adc172a76c71b7d6f248bfc3503c39bab.zip
Fix various function pointer types
Fixes Wincompatible-pointer-types errors on GCC 15. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-ID: <20241210115705.710555-1-bugaevc@gmail.com>
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/trap.c2
1 files changed, 1 insertions, 1 deletions
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 */