diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2018-12-07 14:43:37 +0100 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2018-12-07 23:09:23 +0000 |
commit | d762a845511229715fe8d40011b2592f6f4b420c (patch) | |
tree | d359a7faef42d6d049965e3f60cc78e187271658 | |
parent | 55f31339d5d54540ec424ac8208ec80136c9abb3 (diff) | |
download | perl-d762a845511229715fe8d40011b2592f6f4b420c.tar.gz |
No need to convert int to long to int
Beyond that, I agree with this branch
Signed-off-by: James E Keenan <jkeenan@cpan.org>
-rw-r--r-- | Porting/timecheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/timecheck.c b/Porting/timecheck.c index 6ed70075be..87a252d631 100644 --- a/Porting/timecheck.c +++ b/Porting/timecheck.c @@ -136,7 +136,7 @@ int main (int argc, char *argv[]) opt_v++; printf ("======================\n"); - printf ("Sizeof time_t = %ld\n", (long)(i = sizeof (time_t))); + printf ("Sizeof time_t = %d\n", (i = sizeof (time_t))); printf ("gmtime () boundaries:\n"); gm_check (gm_max, 69, 0x7fffffff); gm_check (gm_min, -1900, 70); |