shithub: freetype+ttf2subf

Download patch

ref: 24ea09fcbdaa66ab3ca5bfce1ba4cce2af9a7a98
parent: 18789bfe9f5b350b37fe5e9fbca36393d5dd777a
author: David Turner <[email protected]>
date: Tue Feb 15 07:54:06 EST 2000

small fix

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1059,7 +1059,7 @@
   {
     FT_Open_Args  args = ft_default_open_args;
     
-    args.pathname = (FT_Byte*)pathname;
+    args.pathname = (char*)pathname;
     return FT_Open_Face( library, &args, face_index, aface );
   }
 
@@ -1281,7 +1281,7 @@
     {
       FT_Attach_Reader  reader;
       
-      reader = (FT_Attach_Reader)get_interface( driver, "attach_file" );
+      reader = (FT_Attach_Reader)(get_interface( driver, "attach_file" ));
       if (reader)
         error = reader( face, stream );
     }