summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-12-21 18:46:15 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-12-21 18:46:15 +0000
commitc8de14b375a2913d0261188fec29beb31f108069 (patch)
tree5eba37d65e337d255617a2b7a47983e5709dd54d
parent6ac233f9752123ee4164aacb9b81a30c2507b7b8 (diff)
downloadphp-git-c8de14b375a2913d0261188fec29beb31f108069.tar.gz
Corrected argument parsing.
-rw-r--r--ext/ncurses/ncurses_functions.c6
1 files 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();