iliaa Sun Dec 21 13:46:15 2003 EDT Modified files: /php-src/ext/ncurses ncurses_functions.c Log: Corrected argument parsing. Index: php-src/ext/ncurses/ncurses_functions.c diff -u php-src/ext/ncurses/ncurses_functions.c:1.43 php-src/ext/ncurses/ncurses_functions.c:1.44 --- php-src/ext/ncurses/ncurses_functions.c:1.43 Thu Dec 11 19:23:15 2003 +++ php-src/ext/ncurses/ncurses_functions.c Sun Dec 21 13:46:15 2003 @@ -1404,7 +1404,7 @@ { 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 @@ { 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 @@ { 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();
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php