* xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed.

Use bool for boolean.
This commit is contained in:
Dmitry Antipov 2013-10-07 19:11:17 +04:00
parent bd74250fd7
commit 764636db72
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
2013-10-07 Dmitry Antipov <dmantipov@yandex.ru>
* 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 <eggert@cs.ucla.edu>

View file

@ -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);