summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-11 17:35:16 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-13 17:11:12 +0900
commit12ef16a44b69ac2cf47d088c09cbb629bd275573 (patch)
treefd91873ac454333c10ca9961dafc133a9a3b663f
parent8f36537406fca7b1f2a492db707e0b58a4720e43 (diff)
downloadfreetype2-12ef16a44b69ac2cf47d088c09cbb629bd275573.tar.gz
insert explict cast to FT_Fixed when bitshifting for FT_Fixed value.
note: long constant is too large for LP64 platforms.
-rw-r--r--src/sfnt/sfobjs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
index 69bf0a5c3..70c9b9ece 100644
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -837,7 +837,7 @@
{
FT_TRACE3(( "sfnt_open_font: synthesize TTC\n" ));
- face->ttc_header.version = 1 << 16;
+ face->ttc_header.version = (FT_Fixed)1 << 16;
face->ttc_header.count = 1;
if ( FT_NEW( face->ttc_header.offsets ) )