mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 08:11:05 -08:00
(status_message): Add a cast.
(sigchld_handler): Add a cast.
This commit is contained in:
parent
7a13e8946b
commit
ed0cae0592
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue