diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2020-04-28 21:20:18 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-04-28 21:20:18 +0200 |
commit | a40701c7dc9970457a19728e371c71e7501057e7 (patch) | |
tree | 45113c99856d6ed7e932e34373b4df62bc4df790 | |
parent | 0a41de2725dbf2f325e55016d85d76560845ff8d (diff) | |
download | cygnal-a40701c7dc9970457a19728e371c71e7501057e7.tar.gz cygnal-a40701c7dc9970457a19728e371c71e7501057e7.tar.bz2 cygnal-a40701c7dc9970457a19728e371c71e7501057e7.zip |
localtime 1.79
-rw-r--r-- | winsup/cygwin/localtime.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/localtime.cc b/winsup/cygwin/localtime.cc index 794c03e2d..88290c663 100644 --- a/winsup/cygwin/localtime.cc +++ b/winsup/cygwin/localtime.cc @@ -1,4 +1,4 @@ -/* $NetBSD: localtime.c,v 1.78 2013/09/20 19:06:54 christos Exp $ */ +/* $NetBSD: localtime.c,v 1.79 2013/12/13 10:34:47 christos Exp $ */ /* ** This file is in the public domain, so clarified as of @@ -90,7 +90,7 @@ static char privatehid[] = "@(#)private.h 7.48"; #if 0 static char elsieid[] = "@(#)localtime.cc 8.17"; #else -__RCSID("$NetBSD: localtime.c,v 1.78 2013/09/20 19:06:54 christos Exp $"); +__RCSID("$NetBSD: localtime.c,v 1.79 2013/12/13 10:34:47 christos Exp $"); #endif /* @@ -1425,7 +1425,7 @@ tzparse(timezone_t sp, const char *name, const int lastditch) } if (time_t_max - janfirst < yearsecs) break; - janfirst += yearsecs; + janfirst += (time_t)yearsecs; } /* ** Get zone offsets into tzinfo (for newlib). . . |