Mercurial > emacs
changeset 9705:f7535deb913a
(status_message): Add a cast.
(sigchld_handler): Add a cast.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 26 Oct 1994 09:30:46 +0000 |
parents | 39b34bbe59c9 |
children | f5f7d07eece8 |
files | src/process.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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