summaryrefslogtreecommitdiff
path: root/src/bitmap/pcfread.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-12-07 15:46:13 -0800
committerKeith Packard <keithp@keithp.com>2015-12-08 20:36:38 -0800
commiteb67d10ae82b364a4324e96ce53baaa4e5e75f97 (patch)
treef02278d58e2326e35dcdc5640ea6f44f02eda909 /src/bitmap/pcfread.c
parentd6877a7c1c35985f6a75b6cd4e814595e781adc4 (diff)
Add compiler warning flags and fix warnings
Mostly signed vs unsigned comparisons Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/bitmap/pcfread.c')
-rw-r--r--src/bitmap/pcfread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bitmap/pcfread.c b/src/bitmap/pcfread.c
index 34eeeb7..33871ae 100644
--- a/src/bitmap/pcfread.c
+++ b/src/bitmap/pcfread.c
@@ -487,7 +487,6 @@ pcfReadFont(FontPtr pFont, FontFilePtr file,
for (i = 0; i < GLYPHPADOPTIONS; i++) {
bitmapSizes[i] = pcfGetINT32(file, format);
if (IS_EOF(file)) goto Bail;
- if (bitmapSizes[i] < 0) goto Bail;
}
sizebitmaps = bitmapSizes[PCF_GLYPH_PAD_INDEX(format)];