freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] int-not32-changes-2017 70d1819 06/23: make numerical constan


From: suzuki toshiya
Subject: [freetype2] int-not32-changes-2017 70d1819 06/23: make numerical constant long when bitshifting for FT_Long value
Date: Tue, 12 Sep 2017 22:13:34 -0400 (EDT)

branch: int-not32-changes-2017
commit 70d1819fdcc6325e783d422cbbdc4fc7a842c115
Author: suzuki toshiya <address@hidden>
Commit: suzuki toshiya <address@hidden>

    make numerical constant long when bitshifting for FT_Long value
---
 src/truetype/ttgxvar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index 49aa53a..ec733e6 100644
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -2476,7 +2476,7 @@
     /* adjust named instance index */
     face->root.face_index &= 0xFFFF;
     if ( i < blend->mmvar->num_namedstyles )
-      face->root.face_index |= ( i + 1 ) << 16;
+      face->root.face_index |= ( i + 1L ) << 16;
 
     face->is_default_instance = is_default_instance;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]