diff options
author | Emil Skoeldberg <emil@skoeldberg.net> | 2018-04-26 18:11:55 +0100 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2018-04-26 22:49:36 +0200 |
commit | e7a387585992a9378ba2f2319c2408c62a0b14e8 (patch) | |
tree | f7d21d2165b8017f3a28a3452a0da716f8e34b87 /arm64/abi.c | |
parent | 39b1f468b09d94cac6ec65a8c0fbc210e3c9989e (diff) | |
download | roux-e7a387585992a9378ba2f2319c2408c62a0b14e8.tar.gz |
Fix compiler warnings.
Compiler warned about comparison between signed and unsigned values.
Diffstat (limited to 'arm64/abi.c')
-rw-r--r-- | arm64/abi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64/abi.c b/arm64/abi.c index b340af2..17ea1d1 100644 --- a/arm64/abi.c +++ b/arm64/abi.c @@ -645,7 +645,7 @@ arm64_abi(Fn *fn) b->visit = 0; /* lower parameters */ - 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 (!ispar(i->op)) break; p = selpar(fn, b->ins, i); |