]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 322629f41c05ac764a65de45f83ae0b94c90cf93..909a8a253176419adc621081805938be69cb37c6 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 50bf30700be853eb877ce71b66f31566d27f740c..b01979c3dfd5f1c8eaf02adaeb5ca88a5b5e8ea1 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);