]> granicus.if.org Git - php/commitdiff
Corrected argument parsing.
authorIlia Alshanetsky <iliaa@php.net>
Sun, 21 Dec 2003 18:46:15 +0000 (18:46 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 21 Dec 2003 18:46:15 +0000 (18:46 +0000)
ext/ncurses/ncurses_functions.c

index cd0d716dbc9a4c8fb9305d5229014506849632b5..09590725064d0e097b1045a3bff5a5545583f5b6 100644 (file)
@@ -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();