From: Richard M. Stallman Date: Wed, 26 Oct 1994 09:30:46 +0000 (+0000) Subject: (status_message): Add a cast. X-Git-Tag: emacs-19.34~6150 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ed0cae0592ed6eafda6281507bc3faeb2123cf66;p=emacs.git (status_message): Add a cast. (sigchld_handler): Add a cast. --- diff --git a/src/process.c b/src/process.c index 6af8974c7a6..8c59f626133 100644 --- a/src/process.c +++ b/src/process.c @@ -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