diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-18 19:49:10 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-18 19:49:10 -0700 |
commit | 8ff096c18cc923d5f3b936311d837edd91d8fbe9 (patch) | |
tree | 84ce6b293ad64dbb71d99da386eb8cb8b228f71e /src/ftfont.c | |
parent | e2be39f6afd7c24f3436740711fd1aeeb3fce3df (diff) | |
download | emacs-8ff096c18cc923d5f3b936311d837edd91d8fbe9.tar.gz |
* ftfont.c (ftfont_resolve_generic_family): Fix pointer signedness.
Diffstat (limited to 'src/ftfont.c')
-rw-r--r-- | src/ftfont.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index db6b29421dc..0c3e7bb6428 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -311,8 +311,9 @@ ftfont_resolve_generic_family (Lisp_Object family, FcPattern *pattern) if (FcPatternGetLangSet (pattern, FC_LANG, 0, &langset) != FcResultMatch) { /* This is to avoid the effect of locale. */ + static const FcChar8 lang[] = "en"; langset = FcLangSetCreate (); - FcLangSetAdd (langset, "en"); + FcLangSetAdd (langset, lang); FcPatternAddLangSet (pattern, FC_LANG, langset); FcLangSetDestroy (langset); } |