* xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 7 Oct 2013 15:11:17 +0000 (19:11 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 7 Oct 2013 15:11:17 +0000 (19:11 +0400)
Use bool for boolean.

src/ChangeLog
src/xdisp.c

index 322629f..909a8a2 100644 (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>
 
index 50bf307..b01979c 100644 (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);