From: Anatol Belski Date: Mon, 25 Aug 2014 21:50:30 +0000 (+0200) Subject: fix func argument type X-Git-Tag: PRE_PHP7_REMOVALS~325 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6a35115bc8508a93f2b09bfaf9d1732a1aad4ed;p=php fix func argument type --- 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;