# HG changeset patch # User Dave Love # Date 1063806654 0 # Node ID 3c9d2f9bf6bba349ac49d1da38e5e90b49926fd9 # Parent f698e4b63097d536345613157bec1386e8a06c94 (find_composition, run_composition_function) (update_compositions, Ffind_composition_internal): Make buffer positions EMACS_INT. diff -r f698e4b63097 -r 3c9d2f9bf6bb src/composite.c --- a/src/composite.c Tue Sep 16 17:34:00 2003 +0000 +++ b/src/composite.c Wed Sep 17 13:50:54 2003 +0000 @@ -402,7 +402,8 @@ 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 @@ 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 @@ 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 @@ 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);