silence all gcc warnings

This commit is contained in:
Russ Cox
2005-11-07 17:13:41 +00:00
parent 7732ac0a9b
commit 1c8b499228
47 changed files with 192 additions and 128 deletions

View File

@ -13,7 +13,7 @@ memimagestring(Memimage *b, Point p, Memimage *color, Point cp, Memsubfont *f, c
Fontchar *i;
s = (uchar*)cs;
for(; c=*s; p.x+=width, cp.x+=width){
for(; (c=*s); p.x+=width, cp.x+=width){
width = 0;
if(c < Runeself)
s++;
@ -47,7 +47,7 @@ memsubfontwidth(Memsubfont *f, char *cs)
p = Pt(0, f->height);
s = (uchar*)cs;
for(; c=*s; p.x+=width){
for(; (c=*s); p.x+=width){
width = 0;
if(c < Runeself)
s++;