From c8de14b375a2913d0261188fec29beb31f108069 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 21 Dec 2003 18:46:15 +0000 Subject: [PATCH] Corrected argument parsing. --- ext/ncurses/ncurses_functions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.50.1