summaryrefslogtreecommitdiff
path: root/ext/calendar/julian.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/calendar/julian.c')
-rw-r--r--ext/calendar/julian.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/calendar/julian.c b/ext/calendar/julian.c
index 3527627c2f..659ffc1740 100644
--- a/ext/calendar/julian.c
+++ b/ext/calendar/julian.c
@@ -11,7 +11,7 @@
*
* void
* SdnToJulian(
- * php_int_t sdn,
+ * zend_long sdn,
* int *pYear,
* int *pMonth,
* int *pDay);
@@ -21,7 +21,7 @@
* will be >= -4713 and != 0; *pMonth will be in the range 1 to 12
* inclusive; *pDay will be in the range 1 to 31 inclusive.
*
- * php_int_t
+ * zend_long
* JulianToSdn(
* int inputYear,
* int inputMonth,
@@ -153,7 +153,7 @@
#define DAYS_PER_4_YEARS 1461
void SdnToJulian(
- php_int_t sdn,
+ zend_long sdn,
int *pYear,
int *pMonth,
int *pDay)
@@ -161,7 +161,7 @@ void SdnToJulian(
int year;
int month;
int day;
- php_int_t temp;
+ zend_long temp;
int dayOfYear;
if (sdn <= 0) {
@@ -212,7 +212,7 @@ fail:
*pDay = 0;
}
-php_int_t JulianToSdn(
+zend_long JulianToSdn(
int inputYear,
int inputMonth,
int inputDay)