diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-03-05 21:07:20 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-03-05 21:07:20 +0000 |
commit | 6249353a4c2f33021e7572435c811387cc98ac0c (patch) | |
tree | baa9dde4111616c094bc9ea3f15d18b438740521 /newlib/libc/time | |
parent | ce637855547e0d90a8de62516111affebc12f7fa (diff) | |
download | cygnal-6249353a4c2f33021e7572435c811387cc98ac0c.tar.gz cygnal-6249353a4c2f33021e7572435c811387cc98ac0c.tar.bz2 cygnal-6249353a4c2f33021e7572435c811387cc98ac0c.zip |
2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
Diffstat (limited to 'newlib/libc/time')
-rw-r--r-- | newlib/libc/time/mktime.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <<mktime>>. #include <stdlib.h> #include <time.h> -#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}; |