summaryrefslogtreecommitdiff
path: root/gs
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2015-06-23 08:24:33 +0100
committerChris Liddell <chris.liddell@artifex.com>2015-06-23 08:27:04 +0100
commit663d2c237506045862a4c8d13cbea26c534dc893 (patch)
tree12bb5f9ba3911cb421cf2c822a96acd80ab9c400 /gs
parente30f3e82b017756428974be81c08fb212f28673e (diff)
downloadghostpdl-663d2c237506045862a4c8d13cbea26c534dc893.tar.gz
Quash some compiler warnings.
No cluster differences
Diffstat (limited to 'gs')
-rw-r--r--gs/base/fapi_ft.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gs/base/fapi_ft.c b/gs/base/fapi_ft.c
index f0494e217..d18a97389 100644
--- a/gs/base/fapi_ft.c
+++ b/gs/base/fapi_ft.c
@@ -274,7 +274,7 @@ new_face(gs_fapi_server * a_server, FT_Face a_ft_face,
face->font_data_len = a_font_data_len;
face->data_owned = data_owned;
face->ftstrm = ftstrm;
- face->server = a_server;
+ face->server = (ff_server *) a_server;
}
return face;
}
@@ -936,11 +936,9 @@ transform_decompose(FT_Matrix * a_transform, FT_UInt * xresp, FT_UInt * yresp,
FT_Fixed * a_x_scale, FT_Fixed * a_y_scale)
{
double scalex, scaley, fact = 1.0;
- double factx = 1.0, facty = 1.0;
FT_Matrix ftscale_mat;
FT_UInt xres;
FT_UInt yres;
- bool indep_scale;
scalex = hypot((double)a_transform->xx, (double)a_transform->xy);
scaley = hypot((double)a_transform->yx, (double)a_transform->yy);