aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-12-02 15:34:19 +0100
committerBjörn-Egil Dahlberg <[email protected]>2011-12-08 14:12:00 +0100
commit42f20932f5b2b8e1eebca47bfe696ab5685ba5f9 (patch)
tree52c1863ebec3967fadd9fc30df04e8b69f744bd5
parent913f05af100e98a8665bbb6168e89fbcfe4ece75 (diff)
downloadotp-42f20932f5b2b8e1eebca47bfe696ab5685ba5f9.tar.gz
otp-42f20932f5b2b8e1eebca47bfe696ab5685ba5f9.tar.bz2
otp-42f20932f5b2b8e1eebca47bfe696ab5685ba5f9.zip
Fix types for gregday in erl_time_sup.c
-rw-r--r--erts/emulator/beam/erl_time_sup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_time_sup.c b/erts/emulator/beam/erl_time_sup.c
index 829ec32288..ab2aa6f5dc 100644
--- a/erts/emulator/beam/erl_time_sup.c
+++ b/erts/emulator/beam/erl_time_sup.c
@@ -627,7 +627,7 @@ static int erl_mktime(time_t *c, struct tm *tm) {
* greater of equal to 1600 , and month [1-12] and day [1-31]
* are within range. Otherwise it returns -1.
*/
-static int long gregday(int year, int month, int day)
+static time_t gregday(Sint year, Sint month, Sint day)
{
int long ndays = 0;
int gyear, pyear, m;