Skip to content

Commit c6a3511

Browse files
committed
fix func argument type
1 parent c429c74 commit c6a3511

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/calendar/cal_unix.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PHP_FUNCTION(unixtojd)
5353
Convert Julian Day to UNIX timestamp */
5454
PHP_FUNCTION(jdtounix)
5555
{
56-
long uday;
56+
zend_long uday;
5757

5858
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &uday) == FAILURE) {
5959
return;

ext/dom/nodelist.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-84
104104
PHP_FUNCTION(dom_nodelist_item)
105105
{
106106
zval *id;
107-
long index;
107+
zend_long index;
108108
int ret;
109109
dom_object *intern;
110110
xmlNodePtr itemnode = NULL;

0 commit comments

Comments
 (0)