aboutsummaryrefslogtreecommitdiffstats
path: root/src/composite.c
diff options
context:
space:
mode:
authorPaul Eggert2011-06-02 01:25:28 -0700
committerPaul Eggert2011-06-02 01:25:28 -0700
commit275a5dd65098a2d6fcc14c21f805fc8d5e4479ee (patch)
treea03e79b0a7c066940ed02cd11927c7fd4080f092 /src/composite.c
parent97f4ea979720e535ade3fe0055fb710e18fb7b5d (diff)
parentf797625a8ca7bc973b6943c6fce97f1e479a283d (diff)
downloademacs-275a5dd65098a2d6fcc14c21f805fc8d5e4479ee.tar.gz
emacs-275a5dd65098a2d6fcc14c21f805fc8d5e4479ee.zip
Merge from trunk.
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/composite.c b/src/composite.c
index 7849ffa3a18..ab9ec3f5a03 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -179,8 +179,8 @@ get_composition_id (EMACS_INT charpos, EMACS_INT bytepos, EMACS_INT nchars,
179 Lisp_Object id, length, components, key, *key_contents; 179 Lisp_Object id, length, components, key, *key_contents;
180 int glyph_len; 180 int glyph_len;
181 struct Lisp_Hash_Table *hash_table = XHASH_TABLE (composition_hash_table); 181 struct Lisp_Hash_Table *hash_table = XHASH_TABLE (composition_hash_table);
182 int hash_index; 182 EMACS_INT hash_index;
183 unsigned hash_code; 183 EMACS_UINT hash_code;
184 struct composition *cmp; 184 struct composition *cmp;
185 EMACS_INT i; 185 EMACS_INT i;
186 int ch; 186 int ch;
@@ -656,7 +656,7 @@ static Lisp_Object
656gstring_lookup_cache (Lisp_Object header) 656gstring_lookup_cache (Lisp_Object header)
657{ 657{
658 struct Lisp_Hash_Table *h = XHASH_TABLE (gstring_hash_table); 658 struct Lisp_Hash_Table *h = XHASH_TABLE (gstring_hash_table);
659 int i = hash_lookup (h, header, NULL); 659 EMACS_INT i = hash_lookup (h, header, NULL);
660 660
661 return (i >= 0 ? HASH_VALUE (h, i) : Qnil); 661 return (i >= 0 ? HASH_VALUE (h, i) : Qnil);
662} 662}
@@ -665,7 +665,7 @@ Lisp_Object
665composition_gstring_put_cache (Lisp_Object gstring, EMACS_INT len) 665composition_gstring_put_cache (Lisp_Object gstring, EMACS_INT len)
666{ 666{
667 struct Lisp_Hash_Table *h = XHASH_TABLE (gstring_hash_table); 667 struct Lisp_Hash_Table *h = XHASH_TABLE (gstring_hash_table);
668 unsigned hash; 668 EMACS_UINT hash;
669 Lisp_Object header, copy; 669 Lisp_Object header, copy;
670 EMACS_INT i; 670 EMACS_INT i;
671 671