]> git.eshelyaron.com Git - emacs.git/commitdiff
* composite.h, composite.c (composition_gstring_put_cache):
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2011 19:53:59 +0000 (12:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2011 19:53:59 +0000 (12:53 -0700)
Use EMACS_INT, not int, for length.

src/ChangeLog
src/composite.c
src/composite.h

index 4b029374f830206728d05e668b46d503383a702d..d7edbb610f77b49db1319d752237bde7aaddc079 100644 (file)
@@ -1,5 +1,8 @@
 2011-04-04  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * composite.h, composite.c (composition_gstring_put_cache):
+       Use EMACS_INT, not int, for length.
+
        * composite.h (COMPOSITION_DECODE_REFS): New macro,
        breaking out part of COMPOSITION_DECODE_RULE.
        (COMPOSITION_DECODE_RULE): Use it.
index af642ad9a72d89fa8932b17d354d7e42436e809e..1ce7bff2982d455d828b5a065084dc753507b0cd 100644 (file)
@@ -661,12 +661,12 @@ gstring_lookup_cache (Lisp_Object header)
 }
 
 Lisp_Object
-composition_gstring_put_cache (Lisp_Object gstring, int len)
+composition_gstring_put_cache (Lisp_Object gstring, EMACS_INT len)
 {
   struct Lisp_Hash_Table *h = XHASH_TABLE (gstring_hash_table);
   unsigned hash;
   Lisp_Object header, copy;
-  int i;
+  EMACS_INT i;
 
   header = LGSTRING_HEADER (gstring);
   hash = h->hashfn (h, header);
index fa8e1164e4a52537a1a8d305ff13bc75d749f0ed..ffdb57a571e2c96fa61625aea1fa7310f071ade3 100644 (file)
@@ -307,7 +307,7 @@ struct composition_it;
 struct face;
 struct font_metrics;
 
-extern Lisp_Object composition_gstring_put_cache (Lisp_Object, int);
+extern Lisp_Object composition_gstring_put_cache (Lisp_Object, EMACS_INT);
 extern Lisp_Object composition_gstring_from_id (int);
 extern int composition_gstring_p (Lisp_Object);
 extern int composition_gstring_width (Lisp_Object, EMACS_INT, EMACS_INT,