diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-01 23:15:15 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-01 23:15:15 -0700 |
| commit | 84acfcf06be242f35063c719ca5643ad969437fd (patch) | |
| tree | 37c7d16b9def0b1f64d9d879a8bfd9ec052c1ee9 /src/undo.c | |
| parent | 369b7e5ac5a6609433fc017d09e1f31750f033a7 (diff) | |
| download | emacs-84acfcf06be242f35063c719ca5643ad969437fd.tar.gz | |
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.
Diffstat (limited to 'src/undo.c')
| -rw-r--r-- | src/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c index 80aff50d18a..142960545a7 100644 --- a/src/undo.c +++ b/src/undo.c @@ -500,7 +500,7 @@ Return what remains of the list. */) { /* Element (t high . low) records previous modtime. */ Lisp_Object high, low; - int mod_time; + time_t mod_time; struct buffer *base_buffer = current_buffer; high = Fcar (cdr); |
