diff options
author | marha <marha@users.sourceforge.net> | 2014-09-08 23:42:34 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-09-08 23:46:56 +0200 |
commit | d0f70707dde032e662dbd5bc70df6ac915403abe (patch) | |
tree | 19a595625f8cdedc3662a8638f65451208103dfd /libXfont/src/fontfile/dirfile.c | |
parent | cb346e228aeb500cd61ec86644c034c238332d3b (diff) | |
download | vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.gz vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.bz2 vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.zip |
Updated to libXfont 1.5.0
Diffstat (limited to 'libXfont/src/fontfile/dirfile.c')
-rw-r--r-- | libXfont/src/fontfile/dirfile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libXfont/src/fontfile/dirfile.c b/libXfont/src/fontfile/dirfile.c index 639310c31..38ced7573 100644 --- a/libXfont/src/fontfile/dirfile.c +++ b/libXfont/src/fontfile/dirfile.c @@ -50,8 +50,10 @@ static int ReadFontAlias ( char *directory, Bool isFile, static int lexAlias ( FILE *file, char **lexToken ); static int lexc ( FILE *file ); +#pragma GCC diagnostic ignored "-Wformat-nonliteral" + int -FontFileReadDirectory (char *directory, FontDirectoryPtr *pdir) +FontFileReadDirectory (const char *directory, FontDirectoryPtr *pdir) { char file_name[MAXFONTFILENAMELEN]; char font_name[MAXFONTNAMELEN]; |