diff options
| author | Paul Eggert | 2011-06-05 22:50:29 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-05 22:50:29 -0700 |
| commit | 0157c761391e63e3cd79a6757bbb1e5a494fae8c (patch) | |
| tree | 18bb6958312922ddd9ddd0fb33897e524ee4dccb /src/undo.c | |
| parent | 0c671da60d26675102b8d690d1d9cd82c2fe6d13 (diff) | |
| parent | 4c97dba58f46f9d6d6d33438958b4d8ee8b79bc4 (diff) | |
| download | emacs-0157c761391e63e3cd79a6757bbb1e5a494fae8c.tar.gz emacs-0157c761391e63e3cd79a6757bbb1e5a494fae8c.zip | |
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. */) | |||
| 500 | { | 500 | { |
| 501 | /* Element (t high . low) records previous modtime. */ | 501 | /* Element (t high . low) records previous modtime. */ |
| 502 | Lisp_Object high, low; | 502 | Lisp_Object high, low; |
| 503 | int mod_time; | 503 | time_t mod_time; |
| 504 | struct buffer *base_buffer = current_buffer; | 504 | struct buffer *base_buffer = current_buffer; |
| 505 | 505 | ||
| 506 | high = Fcar (cdr); | 506 | high = Fcar (cdr); |