summaryrefslogtreecommitdiff
path: root/emulators/doscmd/patches/patch-aa
blob: b18d131f73b2a7fd07f04bf20c79f1b8f694d179 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- signal.c.orig	Fri Jul 17 23:00:17 1998
+++ signal.c	Fri Jul 17 23:00:34 1998
@@ -98,7 +98,7 @@
 	if (s >= 0 && s < NSIG) {
 		handler[s] = h;
 
-		sa.sa_handler = generichandler;
+		sa.sa_handler = (void (*)())generichandler;
 		sa.sa_mask = sigmask(SIGIO) | sigmask(SIGALRM);
 		sa.sa_flags = SA_ONSTACK;
 		sigaction(s, &sa, NULL);