[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] int-not32-changes-2017 12ef16a 10/25: insert explict cast to
From: |
suzuki toshiya |
Subject: |
[freetype2] int-not32-changes-2017 12ef16a 10/25: insert explict cast to FT_Fixed when bitshifting for FT_Fixed value. |
Date: |
Wed, 13 Sep 2017 04:15:05 -0400 (EDT) |
branch: int-not32-changes-2017
commit 12ef16a44b69ac2cf47d088c09cbb629bd275573
Author: suzuki toshiya <address@hidden>
Commit: suzuki toshiya <address@hidden>
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 69bf0a5..70c9b9e 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 ) )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] int-not32-changes-2017 12ef16a 10/25: insert explict cast to FT_Fixed when bitshifting for FT_Fixed value.,
suzuki toshiya <=