summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-03-07 06:41:05 +0000
committerRoland McGrath <roland@redhat.com>1995-03-07 06:41:05 +0000
commit0733d6947d326c78d04cd9d37e3dce8c1aed4e5a (patch)
treeba7543e4629e73fd96ccbd0d458c81d0aba36b51
parentb91d62feb37d188196e6c99c0518356b1edcbfa1 (diff)
downloadgunmake-0733d6947d326c78d04cd9d37e3dce8c1aed4e5a.tar.gz
(strsignal): Cast sys_siglist elt to char *.
-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;