summaryrefslogtreecommitdiff
path: root/src/fcfreetype.c
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2018-01-04 20:32:46 +0900
committerAkira TAGOH <akira@tagoh.org>2018-01-04 20:37:26 +0900
commit767e3aa7c50c2a707b42d9eda879b1046558bb6f (patch)
tree1930361af3fb2c417b8c6ddd1347707f0298ff3c /src/fcfreetype.c
parent706535e10715938c10e65e727feb607373ac1a47 (diff)
downloadfontconfig-767e3aa7c50c2a707b42d9eda879b1046558bb6f.tar.gz
Fix compiler warnings
Diffstat (limited to 'src/fcfreetype.c')
-rw-r--r--src/fcfreetype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index da2dc3f..4af96b8 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -1767,7 +1767,7 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
{
weight = FcIsWeight ((FcChar8 *) psfontinfo.weight);
if (FcDebug() & FC_DBG_SCANV)
- printf ("\tType1 weight %s maps to %d\n",
+ printf ("\tType1 weight %s maps to %g\n",
psfontinfo.weight, weight);
}
@@ -1845,7 +1845,7 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
{
weight = FcContainsWeight (style);
if (FcDebug() & FC_DBG_SCANV)
- printf ("\tStyle %s maps to weight %d\n", style, weight);
+ printf ("\tStyle %s maps to weight %g\n", style, weight);
}
if (width == -1)
{