shithub: freetype+ttf2subf

Download patch

ref: 79d14cc2563d18eec79f3fe97c6aff989c4b2077
parent: ae516e6a43bb3b0b57ef4b3b06dd5611f5a6237f
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Thu Sep 16 12:41:56 EDT 2021

* src/cff/cffload.c (cff_fd_select_get): Remove casting.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/cff/cffload.c
+++ b/src/cff/cffload.c
@@ -771,8 +771,7 @@
 
     case 3:
       /* first, compare to the cache */
-      if ( (FT_UInt)( glyph_index - fdselect->cache_first ) <
-                        fdselect->cache_count )
+      if ( glyph_index - fdselect->cache_first < fdselect->cache_count )
       {
         fd = fdselect->cache_fd;
         break;