From c6a35115bc8508a93f2b09bfaf9d1732a1aad4ed Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 25 Aug 2014 23:50:30 +0200 Subject: [PATCH] fix func argument type --- ext/calendar/cal_unix.c | 2 +- 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; -- 2.50.1