From 6249353a4c2f33021e7572435c811387cc98ac0c Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 5 Mar 2001 21:07:20 +0000 Subject: [PATCH] 2001-03-05 Jeff Johnston * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants. --- newlib/ChangeLog | 4 ++++ newlib/libc/time/mktime.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index e5934f90f..4d2f65ba3 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2001-03-05 Jeff Johnston + + * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants. + Sat Mar 3 00:34:14 2001 Christopher Faylor * libc/include/sys/stat.h: Use special defines for executable stat bits diff --git a/newlib/libc/time/mktime.c b/newlib/libc/time/mktime.c index 431eca568..80478dae9 100644 --- a/newlib/libc/time/mktime.c +++ b/newlib/libc/time/mktime.c @@ -48,9 +48,9 @@ ANSI C requires <>. #include #include -#define _SEC_IN_MINUTE 60 -#define _SEC_IN_HOUR 3600 -#define _SEC_IN_DAY 86400 +#define _SEC_IN_MINUTE 60L +#define _SEC_IN_HOUR 3600L +#define _SEC_IN_DAY 86400L static _CONST int DAYS_IN_MONTH[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};