diff options
author | Gary Houston <ghouston@arglist.com> | 2000-05-01 22:19:33 +0000 |
---|---|---|
committer | Gary Houston <ghouston@arglist.com> | 2000-05-01 22:19:33 +0000 |
commit | da6e81b6b5d70690b25f8010725da5fee5ff4e97 (patch) | |
tree | 62c65b54aff3655e0fbbba2a265d097c68c3f5d5 /libguile/scmsigs.c | |
parent | 7f5fa419d3ad993b243e1687d1128eb0293b8aa5 (diff) | |
download | guile-da6e81b6b5d70690b25f8010725da5fee5ff4e97.tar.gz |
* scmsigs.c: fix the definition of orig_handlers for the case
that HAVE_SIGACTION is not defined (thanks to
Kalle Olavi Niemitalo).
Diffstat (limited to 'libguile/scmsigs.c')
-rw-r--r-- | libguile/scmsigs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c index ebe6f6263..f47a0f2c1 100644 --- a/libguile/scmsigs.c +++ b/libguile/scmsigs.c @@ -114,7 +114,7 @@ static SCM *signal_handlers; #ifdef HAVE_SIGACTION static struct sigaction orig_handlers[NSIG]; #else -static SIGRETTYPE (*orig_handlers)(int)[NSIG]; +static SIGRETTYPE (*orig_handlers[NSIG])(int); #endif static SIGRETTYPE @@ -325,7 +325,7 @@ SCM_DEFINE (scm_sigaction, "sigaction", 1, 2, 0, orig_handlers[csig] = old_chandler; } if (old_chandler == SIG_DFL || old_chandler == SIG_IGN) - old_handler = scm_long2num (old_chandler); + old_handler = scm_long2num ((long) old_chandler); SCM_ALLOW_INTS; return scm_cons (old_handler, SCM_MAKINUM (0)); #endif |