From 776ff19d6437c25ba1bd4954d6a8a827e6419ceb Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Mon, 11 Sep 2017 17:25:00 +0900 Subject: [PATCH] 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 49aa53a68..ec733e6c1 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;