From: Paul Eggert Date: Mon, 6 Jun 2011 05:50:29 +0000 (-0700) Subject: Don't assume time_t can fit into int. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~10^2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0157c761391e63e3cd79a6757bbb1e5a494fae8c;p=emacs.git Don't assume time_t can fit into int. * buffer.h (struct buffer.modtime): Now time_t, not int. * fileio.c (Fvisited_file_modtime): No need for time_t cast now. * undo.c (Fprimitive_undo): Use time_t, not int, for time_t value. --- 0157c761391e63e3cd79a6757bbb1e5a494fae8c diff --cc src/ChangeLog index 05d0baa3ac5,94cfd944adc..9f54dcc3bc5 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,5 -1,10 +1,10 @@@ -2011-06-03 Paul Eggert +2011-06-06 Paul Eggert + Don't assume time_t can fit into int. + * buffer.h (struct buffer.modtime): Now time_t, not int. + * fileio.c (Fvisited_file_modtime): No need for time_t cast now. + * undo.c (Fprimitive_undo): Use time_t, not int, for time_t value. + Minor fixes for signed vs unsigned integers. * character.h (MAYBE_UNIFY_CHAR): * charset.c (maybe_unify_char):