cvs: php-src /ext/ncurses ncurses_functions.c
| From: | Ilia Alshanetsky | Date: | Sun, 21 Dec 2003 18:46:15 +0000 |
| Subject: | cvs: php-src /ext/ncurses ncurses_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25356@lists.php.net to get a copy of this message | ||
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();