aboutsummaryrefslogtreecommitdiffstats
path: root/src/ftfont.c
diff options
context:
space:
mode:
authorPaul Eggert2011-06-03 11:11:17 -0700
committerPaul Eggert2011-06-03 11:11:17 -0700
commit39bc618abbfc4805d4d7dec195826577ef71da77 (patch)
treec2fdf181a953d6168200c03c497a2b2f1f5aa132 /src/ftfont.c
parentea9fafe0937ebd99780610a7c1451ca08b013702 (diff)
parent369b7e5ac5a6609433fc017d09e1f31750f033a7 (diff)
downloademacs-39bc618abbfc4805d4d7dec195826577ef71da77.tar.gz
emacs-39bc618abbfc4805d4d7dec195826577ef71da77.zip
Minor fixes for signed vs unsigned integers.
* character.h (MAYBE_UNIFY_CHAR): * charset.c (maybe_unify_char): * keyboard.c (read_char, reorder_modifiers): XINT -> XFASTINT, since the integer must be nonnegative. * ftfont.c (ftfont_spec_pattern): * keymap.c (access_keymap, silly_event_symbol_error): XUINT -> XFASTINT, since the integer must be nonnegative. (Fsingle_key_description, preferred_sequence_p): XUINT -> XINT, since it makes no difference and we prefer signed. * keyboard.c (record_char): Use XUINT when all the neighbors do. (access_keymap): NATNUMP -> INTEGERP, since the integer must be nonnegative.
Diffstat (limited to 'src/ftfont.c')
-rw-r--r--src/ftfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftfont.c b/src/ftfont.c
index 47425e853da..cd8829a3e51 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -815,7 +815,7 @@ ftfont_spec_pattern (Lisp_Object spec, char *otlayout, struct OpenTypeSpec **ots
815 goto err; 815 goto err;
816 for (chars = XCDR (chars); CONSP (chars); chars = XCDR (chars)) 816 for (chars = XCDR (chars); CONSP (chars); chars = XCDR (chars))
817 if (CHARACTERP (XCAR (chars)) 817 if (CHARACTERP (XCAR (chars))
818 && ! FcCharSetAddChar (charset, XUINT (XCAR (chars)))) 818 && ! FcCharSetAddChar (charset, XFASTINT (XCAR (chars))))
819 goto err; 819 goto err;
820 } 820 }
821 } 821 }