From: Dmitry Antipov Date: Mon, 7 Oct 2013 15:11:17 +0000 (+0400) Subject: * xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1351 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=764636db721a3e8a56a33ade742a56d6956c0752;p=emacs.git * xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed. Use bool for boolean. --- 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);