From aaefca9731ec68722f8de661b6acffb27e591d17 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 17 Sep 2003 13:50:54 +0000 Subject: [PATCH] (find_composition, run_composition_function) (update_compositions, Ffind_composition_internal): Make buffer positions EMACS_INT. --- src/composite.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/composite.c b/src/composite.c index 43da8887176..17747d9e7c8 100644 --- a/src/composite.c +++ b/src/composite.c @@ -402,7 +402,8 @@ get_composition_id (charpos, bytepos, nchars, prop, string) int find_composition (pos, limit, start, end, prop, object) - int pos, limit, *start, *end; + int pos, limit; + EMACS_INT *start, *end; Lisp_Object *prop, object; { Lisp_Object val; @@ -446,7 +447,7 @@ run_composition_function (from, to, prop) Lisp_Object prop; { Lisp_Object func; - int start, end; + EMACS_INT start, end; func = COMPOSITION_MODIFICATION_FUNC (prop); /* If an invalid composition precedes or follows, try to make them @@ -476,13 +477,14 @@ run_composition_function (from, to, prop) void update_compositions (from, to, check_mask) - int from, to, check_mask; + EMACS_INT from, to; + int check_mask; { Lisp_Object prop; - int start, end; + EMACS_INT start, end; /* The beginning and end of the region to set the property `auto-composed' to nil. */ - int min_pos = from, max_pos = to; + EMACS_INT min_pos = from, max_pos = to; if (inhibit_modification_hooks) return; @@ -663,7 +665,7 @@ See `find-composition' for more detail. */) Lisp_Object pos, limit, string, detail_p; { Lisp_Object prop, tail; - int start, end; + EMACS_INT start, end; int id; CHECK_NUMBER_COERCE_MARKER (pos); -- 2.39.2