From 12ef16a44b69ac2cf47d088c09cbb629bd275573 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Mon, 11 Sep 2017 17:35:16 +0900 Subject: [PATCH] insert explict cast to FT_Fixed when bitshifting for FT_Fixed value. note: long constant is too large for LP64 platforms. --- src/sfnt/sfobjs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) )