summaryrefslogtreecommitdiff
path: root/signame.c
diff options
context:
space:
mode:
Diffstat (limited to 'signame.c')
-rw-r--r--signame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signame.c b/signame.c
index 40e72e0..34a6f30 100644
--- a/signame.c
+++ b/signame.c
@@ -284,7 +284,7 @@ strsignal (signal)
static char buf[] = "Signal 12345678901234567890";
if (signal > 0 || signal < NSIG)
- return sys_siglist[signal];
+ return (char *) sys_siglist[signal];
sprintf (buf, "Signal %d", signal);
return buf;