From: Paul Eggert Date: Tue, 27 Sep 2011 16:00:12 +0000 (-0700) Subject: * dispnew.c (Fframe_of_buffer_changed_p): Use ptrdiff_t, not int. X-Git-Tag: emacs-24.2.90~471^2~6^2~180 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=54e1617f5c53d777330f9c0c53bc111692f97c40;p=emacs.git * dispnew.c (Fframe_of_buffer_changed_p): Use ptrdiff_t, not int. --- 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)) {