(strsignal): Cast sys_siglist elt to char *.

This commit is contained in:
Roland McGrath 1995-03-07 06:41:05 +00:00
parent b91d62feb3
commit 0733d6947d

View file

@ -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;