summaryrefslogtreecommitdiff
path: root/src/cid
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2006-03-20 13:32:33 +0000
committerDavid Turner <david@freetype.org>2006-03-20 13:32:33 +0000
commitda95af6cf67c65bd453fc19908a3f14ac2a8c0c5 (patch)
tree52145009b72e5726200b9331bffc693596ff6881 /src/cid
parent505667c6ee26084d7ff3d9664c1349d3754d3fe4 (diff)
* builds/win32/visualc/freetype.dsp: updating the project file, adding
missing base source files (e.g. ftstroke.c, ftxf86.c, etc...) * src/autofit/afcjk.c, src/autofit/aflatin.c, src/base/ftobjs.c, src/cff/cffobjs.c, src/cid/cidobjs.c, src/pfr/pfrobjs.c, src/sfnt/sfobjs.c, src/sfnt/ttmtx.c, src/truetype/ttpload.c, src/truetype/ttpload.h, src/type1/t1afm.c, src/type1/t1objs.c: removing compiler warnings when building with Visual C++ 6 and /W4
Diffstat (limited to 'src/cid')
-rw-r--r--src/cid/cidobjs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cid/cidobjs.c b/src/cid/cidobjs.c
index 7d318a35..1b3bfbf7 100644
--- a/src/cid/cidobjs.c
+++ b/src/cid/cidobjs.c
@@ -425,7 +425,7 @@
cidface->height = (FT_Short)( ( cidface->units_per_EM * 12 ) / 10 );
if ( cidface->height < cidface->ascender - cidface->descender )
- cidface->height = cidface->ascender - cidface->descender;
+ cidface->height = (FT_Short)( cidface->ascender - cidface->descender );
cidface->underline_position = (FT_Short)info->underline_position;
cidface->underline_thickness = (FT_Short)info->underline_thickness;