shithub: freetype+ttf2subf

Download patch

ref: 94cb3a2eb96b3f17a1a3bd0e6f7da97c0e1d8f57
parent: 31fd054701c45526fdb223becb17105469c44c61
author: Alexei Podtelezhnikov <[email protected]>
date: Fri Oct 29 06:31:59 EDT 2021

* src/truetype/ttgload.c (load_truetype_glyph): Fix MSVC warning C4312.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1902,7 +1902,7 @@
       /* clear the nodes filled by sibling chains */
       node = ft_list_get_node_at( &loader->composites, recurse_count );
       for ( node2 = node; node2; node2 = node2->next )
-        node2->data = (void*)FT_ULONG_MAX;
+        node2->data = (void*)-1;
 
       /* check whether we already have a composite glyph with this index */
       if ( FT_List_Find( &loader->composites,