changeset 89509:3c9d2f9bf6bb

(find_composition, run_composition_function) (update_compositions, Ffind_composition_internal): Make buffer positions EMACS_INT.
author Dave Love <fx@gnu.org>
date Wed, 17 Sep 2003 13:50:54 +0000
parents f698e4b63097
children 7e2d74e52afc
files src/composite.c
diffstat 1 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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);