Fix compiler warnings on MinGW

This commit is contained in:
Akira TAGOH 2015-10-15 15:53:27 +09:00
parent bd96984e4b
commit 6d6ce028ee
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ main (void)
{
FcConfig *config = FcConfigGetCurrent ();
if (!FcConfigAppFontAddFile (config, SRCDIR "/4x6.pcf") ||
FcConfigAppFontAddFile (config, "/dev/null"))
if (!FcConfigAppFontAddFile (config, (const FcChar8 *)SRCDIR "/4x6.pcf") ||
FcConfigAppFontAddFile (config, (const FcChar8 *)"/dev/null"))
return 1;
return 0;