diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-15 10:37:33 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-15 11:01:12 +0200 |
commit | fb718ccc7ef6b3c0a509469190c4ff2cc0a17c61 (patch) | |
tree | 197cfdce498b1780389bd6ec9ac9a023ca686e6f /ext/pcntl/php_signal.c | |
parent | 2d517f68fb0a48aa342fdf22fb3c9f21686b8dd5 (diff) | |
download | php-git-fb718ccc7ef6b3c0a509469190c4ff2cc0a17c61.tar.gz |
Suppress SIG_ERR cast warnings
By casting to void*. I don't want to deal with this right now.
Diffstat (limited to 'ext/pcntl/php_signal.c')
-rw-r--r-- | ext/pcntl/php_signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/php_signal.c b/ext/pcntl/php_signal.c index 44d92dabd0..95b4a16d6d 100644 --- a/ext/pcntl/php_signal.c +++ b/ext/pcntl/php_signal.c @@ -49,7 +49,7 @@ Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) #endif } if (zend_sigaction(signo, &act, &oact) < 0) { - return (Sigfunc*)SIG_ERR; + return (void*)SIG_ERR; } #ifdef HAVE_STRUCT_SIGINFO_T |