From: Ilia Alshanetsky Date: Sun, 21 Dec 2003 18:46:15 +0000 (+0000) Subject: Corrected argument parsing. X-Git-Tag: php_ibase_before_split~553 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8de14b375a2913d0261188fec29beb31f108069;p=php Corrected argument parsing. --- diff --git a/ext/ncurses/ncurses_functions.c b/ext/ncurses/ncurses_functions.c index cd0d716dbc..0959072506 100644 --- a/ext/ncurses/ncurses_functions.c +++ b/ext/ncurses/ncurses_functions.c @@ -1404,7 +1404,7 @@ PHP_FUNCTION(ncurses_mvdelch) { long y,x; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lls", &y, &x) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &y, &x) == FAILURE) { return; } IS_NCURSES_INITIALIZED(); @@ -1419,7 +1419,7 @@ PHP_FUNCTION(ncurses_mvgetch) { long y,x; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lls", &y, &x) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &y, &x) == FAILURE) { return; } IS_NCURSES_INITIALIZED(); @@ -1433,7 +1433,7 @@ PHP_FUNCTION(ncurses_mvinch) { long y,x; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lls", &y, &x) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &y, &x) == FAILURE) { return; } IS_NCURSES_INITIALIZED();