make numerical constant long when bitshifting for FT_Long value

int-not32-changes-2017
suzuki toshiya 7 years ago
parent 8938185a80
commit 776ff19d64
  1. 2
      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;

Loading…
Cancel
Save