summaryrefslogtreecommitdiff
path: root/ext/date/lib/tm2unixtime.c
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2005-06-15 00:11:29 +0000
committerEdin Kadribasic <edink@php.net>2005-06-15 00:11:29 +0000
commit289997715ac763ead51648421f563fbcc22ebbb2 (patch)
tree8b3a1a7df058322679cfa0b89cc7631174f1e49c /ext/date/lib/tm2unixtime.c
parent2d9230979735591d8833bddd739337d67ff0ddc2 (diff)
downloadphp-git-289997715ac763ead51648421f563fbcc22ebbb2.tar.gz
Make it compile on windows
Diffstat (limited to 'ext/date/lib/tm2unixtime.c')
-rw-r--r--ext/date/lib/tm2unixtime.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/date/lib/tm2unixtime.c b/ext/date/lib/tm2unixtime.c
index 8b117666e0..507465fac7 100644
--- a/ext/date/lib/tm2unixtime.c
+++ b/ext/date/lib/tm2unixtime.c
@@ -133,7 +133,7 @@ static void do_adjust_relative(timelib_time* time)
static timelib_sll do_years(int year)
{
- uint i;
+ unsigned int i;
timelib_sll res = 0;
if (year >= 1970) {
@@ -156,7 +156,7 @@ static timelib_sll do_years(int year)
return res;
}
-static timelib_sll do_months(uint month, uint year)
+static timelib_sll do_months(unsigned int month, unsigned int year)
{
if (is_leap(year)) {
return ((month_tab_leap[month - 1] + 1) * SECS_PER_DAY);
@@ -165,12 +165,12 @@ static timelib_sll do_months(uint month, uint year)
}
}
-static timelib_sll do_days(uint day)
+static timelib_sll do_days(unsigned int day)
{
return ((day - 1) * SECS_PER_DAY);
}
-static timelib_sll do_time(uint hour, uint minute, uint second)
+static timelib_sll do_time(unsigned int hour, unsigned int minute, unsigned int second)
{
timelib_sll res = 0;