[Fontconfig] fontconfig: Branch 'master'
Akira TAGOH
tagoh at kemper.freedesktop.org
Fri Sep 29 05:34:06 UTC 2017
src/fcdbg.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 9fde3461e3aae3afc57ed100dc7784045e591766
Author: Akira TAGOH <akira at tagoh.org>
Date: Fri Sep 29 14:33:17 2017 +0900
Fix a compiler warning
diff --git a/src/fcdbg.c b/src/fcdbg.c
index 29ff44a..e0c78b7 100644
--- a/src/fcdbg.c
+++ b/src/fcdbg.c
@@ -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);
More information about the Fontconfig
mailing list