diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-02 04:14:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-02 04:14:04 +0000 |
commit | a355e032eec944247bb24307400e4d4c11034ff4 (patch) | |
tree | ab3ab5e300b847ed2f41f3b4ebceb4301ab80900 /lib/libevent | |
parent | aab5cf4d3fd3f12bb40f550c91a49416da90e4c0 (diff) |
lookup out of evsigcaught[] must be sig_atomic_t too
Diffstat (limited to 'lib/libevent')
-rw-r--r-- | lib/libevent/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libevent/signal.c b/lib/libevent/signal.c index 677cd54ba59..7488b390279 100644 --- a/lib/libevent/signal.c +++ b/lib/libevent/signal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.c,v 1.8 2005/12/01 21:08:56 deraadt Exp $ */ +/* $OpenBSD: signal.c,v 1.9 2005/12/02 04:14:03 deraadt Exp $ */ /* * Copyright 2000-2002 Niels Provos <provos@citi.umich.edu> @@ -193,7 +193,7 @@ void evsignal_process(void) { struct event *ev; - short ncalls; + sig_atomic_t ncalls; TAILQ_FOREACH(ev, &signalqueue, ev_signal_next) { ncalls = evsigcaught[EVENT_SIGNAL(ev)]; |