]> git.ipfire.org Git - thirdparty/git.git/commit - date.c
Fix time offset calculation in case of unsigned time_t
authorMike Gorchak <mike.gorchak.qnx@gmail.com>
Mon, 25 Feb 2013 21:53:40 +0000 (23:53 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Feb 2013 22:29:12 +0000 (14:29 -0800)
commite1033da6af80b77d720ba7df9b8d3439666582e4
treee14f11d40ac27dd6dedf267062a657b94946967f
parente6e87516f569c2344f760287aec66f70da856c6d
Fix time offset calculation in case of unsigned time_t

Fix time offset calculation expression in case if time_t
is unsigned. This code works fine for signed and
unsigned time_t.

Signed-off-by: Mike Gorchak <mike.gorchak.qnx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
date.c