summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/cygwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cygwin/cygwin.c b/cygwin/cygwin.c
index 21f3b3437e..03f48dd769 100644
--- a/cygwin/cygwin.c
+++ b/cygwin/cygwin.c
@@ -23,8 +23,8 @@ do_spawnvp (const char *path, const char * const *argv)
Sigsave_t ihand,qhand;
int childpid, result, status;
- rsignal_save(SIGINT, SIG_IGN, &ihand);
- rsignal_save(SIGQUIT, SIG_IGN, &qhand);
+ rsignal_save(SIGINT, (Sighandler_t) SIG_IGN, &ihand);
+ rsignal_save(SIGQUIT, (Sighandler_t) SIG_IGN, &qhand);
childpid = spawnvp(_P_NOWAIT,path,argv);
if (childpid < 0) {
status = -1;