forked from pool/apache-commons-daemon
12 lines
420 B
Diff
12 lines
420 B
Diff
--- a/src/native/unix/native/jsvc-unix.c
|
|
+++ b/src/native/unix/native/jsvc-unix.c
|
|
@@ -1308,7 +1308,7 @@ static int run_controller(arg_data *args
|
|
* These will be replaced in the child process.
|
|
*/
|
|
memset(&act, '\0', sizeof(act));
|
|
- act.sa_sigaction = controller;
|
|
+ act.sa_sigaction = (void *) controller;
|
|
sigemptyset(&act.sa_mask);
|
|
act.sa_flags = SA_RESTART | SA_NOCLDSTOP | SA_SIGINFO;
|
|
|