diff src/process.c @ 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 328b8bc31f73
children 28267fcc61be
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