From: Paul Eggert Date: Fri, 3 Jun 2011 18:12:45 +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^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c97dba58f46f9d6d6d33438958b4d8ee8b79bc4;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. --- 4c97dba58f46f9d6d6d33438958b4d8ee8b79bc4 diff --cc src/ChangeLog index 431bd2acdb5,1c97b0ac9f5..94cfd944adc --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,5 -1,10 +1,10 @@@ -2011-06-02 Paul Eggert +2011-06-03 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):