]> git.sesse.net Git - vlc/commitdiff
Fix freetype on Win32
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 26 Aug 2009 10:59:35 +0000 (12:59 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 26 Aug 2009 10:59:56 +0000 (12:59 +0200)
modules/misc/freetype.c

index 8341cf04c883c80e8306541666feedc356d7296a..a6ef4dd8ffbb36202b0fe8c231b90c22c164191a 100644 (file)
@@ -417,7 +417,7 @@ static int Create( vlc_object_t *p_this )
         goto error;
     }
 
-    FcPatternGetString( fontmatch, FC_FILE, 0, (FcChar8 **)&psz_fontfile);
+    FcPatternGetString( fontmatch, FC_FILE, 0, &psz_fontfile);
     FcPatternGetInteger( fontmatch, FC_INDEX, 0, &fontindex );
     if( !psz_fontfile )
     {