mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-30 19:24:07 +00:00
(strsignal): Cast sys_siglist elt to char *.
This commit is contained in:
parent
b91d62feb3
commit
0733d6947d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue