summaryrefslogtreecommitdiff
path: root/src/character.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/character.c')
-rw-r--r--src/character.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/character.c b/src/character.c
index b25aff8083c..e4b7e362add 100644
--- a/src/character.c
+++ b/src/character.c
@@ -429,7 +429,7 @@ lisp_string_width (string, precision, nchars, nbytes)
int chars, bytes, thiswidth;
Lisp_Object val;
int cmp_id;
- int ignore, end;
+ EMACS_INT ignore, end;
if (find_composition (i, -1, &ignore, &end, &val, string)
&& ((cmp_id = get_composition_id (i, i_byte, end - i, val, string))