diff options
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/buffer.c b/src/buffer.c index efcaafb9507..366f02a6378 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2691,8 +2691,8 @@ overlays_at (pos, extend, vec_ptr, len_ptr, next_ptr, prev_ptr, change_req) int extend; Lisp_Object **vec_ptr; int *len_ptr; - int *next_ptr; - int *prev_ptr; + EMACS_INT *next_ptr; + EMACS_INT *prev_ptr; int change_req; { Lisp_Object overlay, start, end; @@ -4097,7 +4097,7 @@ DEFUN ("overlays-at", Foverlays_at, Soverlays_at, 1, 1, 0, /* Put all the overlays we want in a vector in overlay_vec. Store the length in len. */ noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, - (int *) 0, (int *) 0, 0); + (EMACS_INT *) 0, (EMACS_INT *) 0, 0); /* Make a list of them all. */ result = Flist (noverlays, overlay_vec); @@ -4147,7 +4147,7 @@ the value is (point-max). */) Lisp_Object pos; { int noverlays; - int endpos; + EMACS_INT endpos; Lisp_Object *overlay_vec; int len; int i; @@ -4161,14 +4161,14 @@ the value is (point-max). */) Store the length in len. endpos gets the position where the next overlay starts. */ noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, - &endpos, (int *) 0, 1); + &endpos, (EMACS_INT *) 0, 1); /* If any of these overlays ends before endpos, use its ending point instead. */ for (i = 0; i < noverlays; i++) { Lisp_Object oend; - int oendpos; + EMACS_INT oendpos; oend = OVERLAY_END (overlay_vec[i]); oendpos = OVERLAY_POSITION (oend); @@ -4189,7 +4189,7 @@ the value is (point-min). */) Lisp_Object pos; { int noverlays; - int prevpos; + EMACS_INT prevpos; Lisp_Object *overlay_vec; int len; @@ -4207,7 +4207,7 @@ the value is (point-min). */) Store the length in len. prevpos gets the position of the previous change. */ noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, - (int *) 0, &prevpos, 1); + (EMACS_INT *) 0, &prevpos, 1); xfree (overlay_vec); return make_number (prevpos); |