* ftfont.c: Distingish more carefully between FcChar8 and char.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Apr 2011 19:14:12 +0000 (12:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Apr 2011 19:14:12 +0000 (12:14 -0700)
commitdae0cd48d84709e8f3662b7bbf14d22cc46038de
treee2c533e5050fd79766b825ebb9b08d2a11b290df
parent76032d70ca341d94996b968a3e1b522b3070196c
* ftfont.c: Distingish more carefully between FcChar8 and char.

The previous code passed unsigned char * to a functions like
strlen and xstrcasecmp that expect char *, which does not
conform to the C standard.
(get_adstyle_property, ftfont_pattern_entity): Use FcChar8 for
arguments to FcPatternGetString, and explicitly cast FcChar8 * to
char * when the C standard requires it.
src/ChangeLog
src/ftfont.c