Commit 79d14cc2563d18eec79f3fe97c6aff989c4b2077

Alexei Podtelezhnikov 2021-09-16T16:41:56

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/cff/cffload.c b/src/cff/cffload.c
index 76e8fd4..9996fa7 100644
--- 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;