diff options
author | Anatol Belski <ab@php.net> | 2014-08-25 23:50:30 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-25 23:52:40 +0200 |
commit | c6a35115bc8508a93f2b09bfaf9d1732a1aad4ed (patch) | |
tree | 293e68a3e5fd64754931a14babd3f61ac9ff67d5 | |
parent | c429c74be966415085e781c6fbaf9fbf184ec164 (diff) | |
download | php-git-c6a35115bc8508a93f2b09bfaf9d1732a1aad4ed.tar.gz |
fix func argument type
-rw-r--r-- | ext/calendar/cal_unix.c | 2 | ||||
-rw-r--r-- | ext/dom/nodelist.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/calendar/cal_unix.c b/ext/calendar/cal_unix.c index 99adfd3563..31367c66e0 100644 --- a/ext/calendar/cal_unix.c +++ b/ext/calendar/cal_unix.c @@ -53,7 +53,7 @@ PHP_FUNCTION(unixtojd) Convert Julian Day to UNIX timestamp */ PHP_FUNCTION(jdtounix) { - long uday; + zend_long uday; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &uday) == FAILURE) { return; diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c index 3ef43f2ac7..965f4c7878 100644 --- a/ext/dom/nodelist.c +++ b/ext/dom/nodelist.c @@ -104,7 +104,7 @@ Since: PHP_FUNCTION(dom_nodelist_item) { zval *id; - long index; + zend_long index; int ret; dom_object *intern; xmlNodePtr itemnode = NULL; |