aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-09-27 09:00:12 -0700
committerPaul Eggert2011-09-27 09:00:12 -0700
commit54e1617f5c53d777330f9c0c53bc111692f97c40 (patch)
treed5d8b3b673063dc4d718a65874a87b6646b52936 /src
parent90d8445b57bba4ff60933d42531518535f2afa0c (diff)
downloademacs-54e1617f5c53d777330f9c0c53bc111692f97c40.tar.gz
emacs-54e1617f5c53d777330f9c0c53bc111692f97c40.zip
* dispnew.c (Fframe_of_buffer_changed_p): Use ptrdiff_t, not int.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/dispnew.c2
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 @@
219 (increment_row_positions, mode_line_string) 219 (increment_row_positions, mode_line_string)
220 (marginal_area_string): 220 (marginal_area_string):
221 Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough. 221 Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough.
222 (change_frame_size_1, Fredisplay): 222 (change_frame_size_1, Fredisplay, Fframe_or_buffer_changed_p):
223 Use ptrdiff_t, not int, to avoid needless 32-bit limit on 64-bit hosts. 223 Use ptrdiff_t, not int, to avoid needless 32-bit limit on 64-bit hosts.
224 (duration_to_sec_usec): New function, to check for overflow better. 224 (duration_to_sec_usec): New function, to check for overflow better.
225 (Fsleep_for, sit_for): Use it. 225 (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. */)
6033{ 6033{
6034 Lisp_Object state, tail, frame, buf; 6034 Lisp_Object state, tail, frame, buf;
6035 Lisp_Object *vecp, *end; 6035 Lisp_Object *vecp, *end;
6036 int n; 6036 ptrdiff_t n;
6037 6037
6038 if (! NILP (variable)) 6038 if (! NILP (variable))
6039 { 6039 {