com php-src: fix func argument type: ext/calendar/cal_unix. c ext/dom/nodelist.c

From: Date: Mon, 25 Aug 2014 21:52:40 +0000
Subject: com php-src: fix func argument type: ext/calendar/cal_unix. c ext/dom/nodelist.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81100@lists.php.net to get a copy of this message
Commit: c6a35115bc8508a93f2b09bfaf9d1732a1aad4ed Author: Anatol Belski <ab@php.net> Mon, 25 Aug 2014 23:50:30 +0200 Parents: c429c74be966415085e781c6fbaf9fbf184ec164 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c6a35115bc8508a93f2b09bfaf9d1732a1aad4ed Log: fix func argument type Changed paths: M ext/calendar/cal_unix.c M ext/dom/nodelist.c Diff: diff --git a/ext/calendar/cal_unix.c b/ext/calendar/cal_unix.c index 99adfd3..31367c6 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 3ef43f2..965f4c7 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;

« previous php.cvs (#81100) next »