# HG changeset patch # User Richard M. Stallman # Date 783163846 0 # Node ID f7535deb913a8d379da7e1aa2a1777cf236d761f # Parent 39b34bbe59c98744e806d0fd76d3cc84a20dffb8 (status_message): Add a cast. (sigchld_handler): Add a cast. diff -r 39b34bbe59c9 -r f7535deb913a src/process.c --- a/src/process.c Wed Oct 26 09:26:40 1994 +0000 +++ b/src/process.c Wed Oct 26 09:30:46 1994 +0000 @@ -345,7 +345,8 @@ 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 @@ 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