diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-10-20 19:32:23 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-10-20 19:32:23 -0700 |
commit | 6bf52de1fb84d61b227daf7a7077af9ea3ec27a3 (patch) | |
tree | eba02e2d8efcfa920d5386d76b222d58732f60fa /src/fontfile | |
parent | b012dcf65b1f0e41def2f595f1b1e7b06a49d275 (diff) |
X.Org Bug 17945: avoid gcc warnings for libXfont
<http://bugs.freedesktop.org/show_bug.cgi?id=17945>
Avoid two gcc warnings
src/fontfile/ffcheck.c:150: warning: initialization discards qualifiers from pointer target type
src/fontfile/register.c:98: warning: initialization discards qualifiers from pointer target type
Diffstat (limited to 'src/fontfile')
-rw-r--r-- | src/fontfile/ffcheck.c | 2 | ||||
-rw-r--r-- | src/fontfile/register.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fontfile/ffcheck.c b/src/fontfile/ffcheck.c index ea0b3b4..70d117e 100644 --- a/src/fontfile/ffcheck.c +++ b/src/fontfile/ffcheck.c @@ -147,7 +147,7 @@ static const FontModule builtinFontModuleList[] = { void FontFileCheckRegisterFpeFunctions (void) { - FontModule *fmlist = builtinFontModuleList; + const FontModule *fmlist = builtinFontModuleList; #ifdef XFONT_BITMAP /* bitmap is always builtin to libXfont now */ diff --git a/src/fontfile/register.c b/src/fontfile/register.c index 3dc7ef0..5b70df7 100644 --- a/src/fontfile/register.c +++ b/src/fontfile/register.c @@ -95,7 +95,7 @@ static const FontModule builtinFontModuleList[] = { void FontFileRegisterFpeFunctions(void) { - FontModule *fmlist = builtinFontModuleList; + const FontModule *fmlist = builtinFontModuleList; #ifdef XFONT_BITMAP /* bitmap is always builtin to libXfont now */ |