public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] localtime 1.79
Date: Mon,  4 May 2020 09:20:56 +0000 (GMT)	[thread overview]
Message-ID: <20200504092056.753EC383F84B@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a40701c7dc9970457a19728e371c71e7501057e7

commit a40701c7dc9970457a19728e371c71e7501057e7
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Apr 28 21:20:18 2020 +0200

    localtime 1.79

Diff:
---
 winsup/cygwin/localtime.cc | 6 +++---
 1 file 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). . .


                 reply	other threads:[~2020-05-04  9:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200504092056.753EC383F84B@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).