@@ -349,11 +349,11 @@ && unsafe.getByte(glyphPtrs[i] + managedOffset) == 0) { if (gids == null) { gids = new ArrayList<Long>(); } - gids.add((long) glyphPtrs[i]); + gids.add(glyphPtrs[i]); } } if (gids != null) { // Any reference by the disposers to the native glyph ptrs