Re: [PATCH] Add timegm POSIX call [updated]
Freddie Chopin <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2018-08-22 at 12:12 -0700, Andrew Russell via newlib wrote:
> -static const int DAYS_IN_MONTH[12] =
> +static const int_least16_t DAYS_IN_MONTH[12] =
> {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
Shouldn't the type here be actually int_least8_t and int_least16_t used
here ->
> @@ -58,11 +61,21 @@ static const int DAYS_IN_MONTH[12] =
> static const int _DAYS_BEFORE_MONTH[12] =
> {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334};
?
Regards,
FCh