From 764636db721a3e8a56a33ade742a56d6956c0752 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Mon, 7 Oct 2013 19:11:17 +0400 Subject: [PATCH] * xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed. Use bool for boolean. --- src/ChangeLog | 1 + src/xdisp.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 322629f41c0..909a8a25317 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2013-10-07 Dmitry Antipov * insdel.c (insert_from_gap): Prefer ptrdiff_t to int where needed. + * xdisp.c (handle_fontified_prop): Likewise. Use bool for boolean. 2013-10-07 Paul Eggert diff --git a/src/xdisp.c b/src/xdisp.c index 50bf30700be..b01979c3dfd 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3698,8 +3698,8 @@ handle_fontified_prop (struct it *it) ptrdiff_t count = SPECPDL_INDEX (); Lisp_Object val; struct buffer *obuf = current_buffer; - int begv = BEGV, zv = ZV; - int old_clip_changed = current_buffer->clip_changed; + ptrdiff_t begv = BEGV, zv = ZV; + bool old_clip_changed = current_buffer->clip_changed; val = Vfontification_functions; specbind (Qfontification_functions, Qnil); -- 2.39.2