Commit ed0cae05 authored by Richard M. Stallman's avatar Richard M. Stallman

(status_message): Add a cast.

(sigchld_handler): Add a cast.
parent 7a13e894
......@@ -345,7 +345,8 @@ status_message (status)
if (code < NSIG)
{
#ifndef VMS
signame = sys_siglist[code];
/* Cast to suppress warning if the table has const char *. */
signame = (char *) sys_siglist[code];
#else
signame = sys_errlist[code];
#endif
......@@ -3107,7 +3108,8 @@ sigchld_handler (signo)
if (code < NSIG)
{
#ifndef VMS
signame = sys_siglist[code];
/* Suppress warning if the table has const char *. */
signame = (char *) sys_siglist[code];
#else
signame = sys_errlist[code];
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment