]> git.eshelyaron.com Git - emacs.git/commit
Fix time-related data types in 2 editfns.c functions
authorEli Zaretskii <eliz@gnu.org>
Mon, 17 Oct 2016 07:19:34 +0000 (10:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 17 Oct 2016 07:19:34 +0000 (10:19 +0300)
commitbe0c3814af555f6149ab030be23a32b447d485f4
tree8244ba5d956db63982b8b54d718a8ced013eaa78
parent665ee0a56551ad897a9e5092ebc91728c98a2d43
Fix time-related data types in 2 editfns.c functions

* src/editfns.c (format_time_string, Fcurrent_time_zone): Pass a
pointer to 'time_t' value to 'emacs_localtime_rz' and 'gmtime_r',
instead of relying on struct timespec's 'tv_sec' member to be of
compatible type.
src/editfns.c