Fix a compiler warning

This commit is contained in:
Akira TAGOH 2017-09-29 14:33:17 +09:00
parent 071111ea58
commit 9fde3461e3
1 changed files with 3 additions and 3 deletions

View File

@ -47,9 +47,9 @@ _FcValuePrintFile (FILE *f, const FcValue v)
break;
case FcTypeBool:
fprintf (f,
v.u.b == FcTrue ? (FcChar8 *) "True" :
v.u.b == FcFalse ? (FcChar8 *) "False" :
(FcChar8 *) "DontCare", 0);
v.u.b == FcTrue ? "True" :
v.u.b == FcFalse ? "False" :
"DontCare");
break;
case FcTypeMatrix:
fprintf (f, "[%g %g; %g %g]", v.u.m->xx, v.u.m->xy, v.u.m->yx, v.u.m->yy);