diff src/composite.c @ 98209:b5e444f66902

(composition_adjust_point): Fix int/EMACS_INT mixup.
author Romain Francoise <romain@orebokech.com>
date Wed, 17 Sep 2008 19:16:09 +0000
parents 8bb9ca0754f1
children 52d26067a946
line wrap: on
line diff
--- a/src/composite.c	Wed Sep 17 11:49:06 2008 +0000
+++ b/src/composite.c	Wed Sep 17 19:16:09 2008 +0000
@@ -1429,7 +1429,7 @@
     return PT;
 
   /* Next check the automatic composition.  */
-  if (! find_automatic_composition (PT, -1, &beg, &end, &val, Qnil)
+  if (! find_automatic_composition (PT, (EMACS_INT) -1, &beg, &end, &val, Qnil)
       || beg == PT)
     return PT;
   for (i = 0; i < LGSTRING_GLYPH_LEN (val); i++)