]> granicus.if.org Git - php/commitdiff
fix func argument type
authorAnatol Belski <ab@php.net>
Mon, 25 Aug 2014 21:50:30 +0000 (23:50 +0200)
committerAnatol Belski <ab@php.net>
Mon, 25 Aug 2014 21:52:40 +0000 (23:52 +0200)
ext/calendar/cal_unix.c
ext/dom/nodelist.c

index 99adfd3563b3fae01444d2b154ac0cc42c8aa7e3..31367c66e05eadd9a8e456a243901b3e2caefbe4 100644 (file)
@@ -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;
index 3ef43f2ac7f36ef4901e38e8c84e9a5bef185d2f..965f4c7878f4fba56fb21ed0f4763eb47e97ca3f 100644 (file)
@@ -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;