From 54e1617f5c53d777330f9c0c53bc111692f97c40 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 27 Sep 2011 09:00:12 -0700 Subject: [PATCH] * dispnew.c (Fframe_of_buffer_changed_p): Use ptrdiff_t, not int. --- src/ChangeLog | 2 +- src/dispnew.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index a273fd6ece0..52514d36429 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -219,7 +219,7 @@ (increment_row_positions, mode_line_string) (marginal_area_string): Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough. - (change_frame_size_1, Fredisplay): + (change_frame_size_1, Fredisplay, Fframe_or_buffer_changed_p): Use ptrdiff_t, not int, to avoid needless 32-bit limit on 64-bit hosts. (duration_to_sec_usec): New function, to check for overflow better. (Fsleep_for, sit_for): Use it. diff --git a/src/dispnew.c b/src/dispnew.c index 264db3ce4f9..32795a5fed9 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -6033,7 +6033,7 @@ pass nil for VARIABLE. */) { Lisp_Object state, tail, frame, buf; Lisp_Object *vecp, *end; - int n; + ptrdiff_t n; if (! NILP (variable)) { -- 2.39.2