make numerical constant long when bitshifting for FT_Long value

This commit is contained in:
suzuki toshiya 2017-09-11 17:25:00 +09:00
parent 8938185a80
commit 776ff19d64
1 changed files with 1 additions and 1 deletions

View File

@ -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;