Fix compiler warnings.
Compiler warned about comparison between signed and unsigned values.
This commit is contained in:
parent
39b1f468b0
commit
e7a3875859
11 changed files with 21 additions and 21 deletions
2
rega.c
2
rega.c
|
@ -506,7 +506,7 @@ rega(Fn *fn)
|
|||
for (bp=blk, b=fn->start; b; b=b->link)
|
||||
*bp++ = b;
|
||||
qsort(blk, fn->nblk, sizeof blk[0], carve);
|
||||
for (b=fn->start, i=b->ins; i-b->ins < b->nins; i++)
|
||||
for (b=fn->start, i=b->ins; i<&b->ins[b->nins]; i++)
|
||||
if (i->op != Ocopy || !isreg(i->arg[0]))
|
||||
break;
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue