summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog1
-rw-r--r--src/xdisp.c4
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 <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>
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);