diff options
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/editfns.c b/src/editfns.c index f0f8c9eb63f..c0c0e530265 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -331,13 +331,13 @@ If you set the marker not to point anywhere, the buffer will have no mark. */) | |||
| 331 | Return the number found, and store them in a vector in VEC | 331 | Return the number found, and store them in a vector in VEC |
| 332 | of length LEN. */ | 332 | of length LEN. */ |
| 333 | 333 | ||
| 334 | static int | 334 | static ptrdiff_t |
| 335 | overlays_around (EMACS_INT pos, Lisp_Object *vec, int len) | 335 | overlays_around (EMACS_INT pos, Lisp_Object *vec, ptrdiff_t len) |
| 336 | { | 336 | { |
| 337 | Lisp_Object overlay, start, end; | 337 | Lisp_Object overlay, start, end; |
| 338 | struct Lisp_Overlay *tail; | 338 | struct Lisp_Overlay *tail; |
| 339 | EMACS_INT startpos, endpos; | 339 | EMACS_INT startpos, endpos; |
| 340 | int idx = 0; | 340 | ptrdiff_t idx = 0; |
| 341 | 341 | ||
| 342 | for (tail = current_buffer->overlays_before; tail; tail = tail->next) | 342 | for (tail = current_buffer->overlays_before; tail; tail = tail->next) |
| 343 | { | 343 | { |
| @@ -405,7 +405,7 @@ get_pos_property (Lisp_Object position, register Lisp_Object prop, Lisp_Object o | |||
| 405 | else | 405 | else |
| 406 | { | 406 | { |
| 407 | EMACS_INT posn = XINT (position); | 407 | EMACS_INT posn = XINT (position); |
| 408 | int noverlays; | 408 | ptrdiff_t noverlays; |
| 409 | Lisp_Object *overlay_vec, tem; | 409 | Lisp_Object *overlay_vec, tem; |
| 410 | struct buffer *obuf = current_buffer; | 410 | struct buffer *obuf = current_buffer; |
| 411 | 411 | ||