mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-10 14:03:06 -04:00
Quell a few compiler warnings
This commit is contained in:
parent
05decf272d
commit
3434aa062f
12
bedstead.c
12
bedstead.c
@ -3533,11 +3533,11 @@ dogpos(void)
|
||||
struct glyph *g = realglyph(&glyphs[i]);
|
||||
if (g->flags & (MOS6|MOS4)) continue;
|
||||
int fp = glyph_footprint(g->data);
|
||||
if ((fp & (0xff << (XSIZE-dx-1))) == 0 &&
|
||||
(fp & (0xff << (XSIZE-dx-2))) != 0 &&
|
||||
(fp & ((1 << (dh - dx)) - 1)) == 0 &&
|
||||
(fp & ((1 << (dh - dx + 1)) - 1)) != 0 ||
|
||||
fp == 0 && dx == 0 && dh == 3)
|
||||
if (((fp & (0xff << (XSIZE-dx-1))) == 0 &&
|
||||
(fp & (0xff << (XSIZE-dx-2))) != 0 &&
|
||||
(fp & ((1 << (dh - dx)) - 1)) == 0 &&
|
||||
(fp & ((1 << (dh - dx + 1)) - 1)) != 0) ||
|
||||
(fp == 0 && dx == 0 && dh == 3))
|
||||
TTXS("Glyph", glyphs[i].name);
|
||||
}
|
||||
printf(" </Coverage>\n");
|
||||
@ -3941,7 +3941,7 @@ emit_hints(int vstems[XSIZE], int ledges[XSIZE], int redges[XSIZE],
|
||||
printf("%c", "X0100"[vhints[i]]);
|
||||
nhints++;
|
||||
}
|
||||
printf("0000000" + (nhints - 1) % 8);
|
||||
printf("%s", &"0000000"[(nhints - 1) % 8]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user