com php-src: fix zpp: ext/pcntl/pcntl.c
| From: | Anatol Belski | Date: | Thu, 21 Aug 2014 15:59:28 +0000 |
| Subject: | com php-src: fix zpp: ext/pcntl/pcntl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80689@lists.php.net to get a copy of this message | ||
Commit: 7de2259818cf73482aafc96a8df082d5657e74f1
Author: Anatol Belski <ab@php.net> Thu, 21 Aug 2014 17:59:28 +0200
Parents: 21a45d9acaad2e53b6a7b2a6798ceb8e255e106f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7de2259818cf73482aafc96a8df082d5657e74f1
Log:
fix zpp
Changed paths:
M ext/pcntl/pcntl.c
Diff:
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
index e8dac07..d0ca4de 100644
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -725,7 +725,7 @@ PHP_FUNCTION(pcntl_wstopsig)
#ifdef WSTOPSIG
php_int_t status_word;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &status_word) == FAILURE)
{
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "i", &status_word) == FAILURE)
{
return;
}
@@ -840,7 +840,7 @@ PHP_FUNCTION(pcntl_signal)
php_int_t signo;
zend_bool restart_syscalls = 1;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz|b", &signo, &handle,
&restart_syscalls) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "iz|b", &signo, &handle,
&restart_syscalls) == FAILURE) {
return;
}