summaryrefslogtreecommitdiff
path: root/ext/date/lib/timelib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/lib/timelib.c')
-rw-r--r--ext/date/lib/timelib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/lib/timelib.c b/ext/date/lib/timelib.c
index ad25f8b5c6..26bf8f5686 100644
--- a/ext/date/lib/timelib.c
+++ b/ext/date/lib/timelib.c
@@ -176,7 +176,7 @@ void timelib_error_container_dtor(timelib_error_container *errors)
free(errors);
}
-php_int_t timelib_date_to_int(timelib_time *d, int *error)
+zend_long timelib_date_to_int(timelib_time *d, int *error)
{
timelib_sll ts;
@@ -191,7 +191,7 @@ php_int_t timelib_date_to_int(timelib_time *d, int *error)
if (error) {
*error = 0;
}
- return (php_int_t) d->sse;
+ return (zend_long) d->sse;
}
void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec)