all: fix or silence various gcc warnings
As usual, gcc finds some real problems but also reports a ton of noise. Fix the problems and quiet the noise.
This commit is contained in:
parent
fa325e9b42
commit
fafa622a5b
17 changed files with 27 additions and 22 deletions
|
|
@ -1142,7 +1142,7 @@ textedit(Thing *t, char *tag)
|
|||
fc = f->info;
|
||||
for(i=0; i<=w && i<=f->n; i++)
|
||||
nfc[i] = fc[i];
|
||||
if(w+1 < i)
|
||||
if(i < w+1)
|
||||
memset(nfc+i, 0, ((w+1)-i)*sizeof(Fontchar));
|
||||
x = fc[f->n].x;
|
||||
for(; i<=w; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue