Fix compiler warnings on MinGW
This commit is contained in:
parent
bd96984e4b
commit
6d6ce028ee
|
@ -30,8 +30,8 @@ main (void)
|
||||||
{
|
{
|
||||||
FcConfig *config = FcConfigGetCurrent ();
|
FcConfig *config = FcConfigGetCurrent ();
|
||||||
|
|
||||||
if (!FcConfigAppFontAddFile (config, SRCDIR "/4x6.pcf") ||
|
if (!FcConfigAppFontAddFile (config, (const FcChar8 *)SRCDIR "/4x6.pcf") ||
|
||||||
FcConfigAppFontAddFile (config, "/dev/null"))
|
FcConfigAppFontAddFile (config, (const FcChar8 *)"/dev/null"))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue