summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-12-17 19:13:03 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-12-17 19:13:03 +0000
commitd321df47c37c3fdceb2761cb52f9ab3bd9a95cb1 (patch)
tree49942a1ecc4e777fbcf293e03c2762de0a6b3fc3 /sys/kern/kern_sig.c
parent162ae3ae7f28b571db4c8b3bf5b040989a6c2245 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 35036098819d..a6ecbf834a6f 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1749,9 +1749,9 @@ issignal(td)
* Return the signal's number, or fall through
* to clear it from the pending mask.
*/
- switch ((int)(intptr_t)p->p_sigacts->ps_sigact[_SIG_IDX(sig)]) {
+ switch ((intptr_t)p->p_sigacts->ps_sigact[_SIG_IDX(sig)]) {
- case (int)SIG_DFL:
+ case (intptr_t)SIG_DFL:
/*
* Don't take default actions on system processes.
*/
@@ -1810,7 +1810,7 @@ issignal(td)
return (sig);
/*NOTREACHED*/
- case (int)SIG_IGN:
+ case (intptr_t)SIG_IGN:
/*
* Masking above should prevent us ever trying
* to take action on an ignored signal other