summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-01 23:15:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-01 23:15:15 -0700
commit84acfcf06be242f35063c719ca5643ad969437fd (patch)
tree37c7d16b9def0b1f64d9d879a8bfd9ec052c1ee9 /src/undo.c
parent369b7e5ac5a6609433fc017d09e1f31750f033a7 (diff)
downloademacs-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.c2
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);