* zic.c (addtype): Omit unnecessary L suffix in decimal integer
constants that need not be of type ‘long’.
---
 localtime.c | 2 +-
 zic.c       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/localtime.c b/localtime.c
index b80a3413..355822d2 100644
--- a/localtime.c
+++ b/localtime.c
@@ -2191,7 +2191,7 @@ localsub(struct state const *sp, time_t const *timep, 
int_fast32_t setname,
        ** To get (wrong) behavior that's compatible with System V Release 2.0
        ** you'd replace the statement below with
        **      t += ttisp->tt_utoff;
-       **      timesub(&t, 0L, sp, tmp);
+       **      timesub(&t, 0, sp, tmp);
        */
        result = timesub(&t, ttisp->tt_utoff, sp, tmp);
        if (result) {
diff --git a/zic.c b/zic.c
index a7c70895..eecd8ac2 100644
--- a/zic.c
+++ b/zic.c
@@ -3760,7 +3760,7 @@ addtype(zic_t utoff, char const *abbr, bool isdst, bool 
ttisstd, bool ttisut)
 {
        register int    i, j;
 
-       if (! (-1L - 2147483647L <= utoff && utoff <= 2147483647L)) {
+       if (! (-1 - 2147483647 <= utoff && utoff <= 2147483647)) {
                error(_("UT offset out of range"));
                exit(EXIT_FAILURE);
        }
-- 
2.51.0

Reply via email to