aboutsummaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2017-02-06 14:36:27 -0500
committerQuentin Carbonneaux <[email protected]>2017-02-06 14:36:27 -0500
commit7e1c1f9f779aa4d55c3cbc9e16a9f8f2884dd3fe (patch)
tree1956b81f5c2a9eea51d6bbc9a4071d83874dd492 /load.c
parent835b2b4910c19ee2a9411da55080be6b1e30a722 (diff)
use uint for block ids
Diffstat (limited to 'load.c')
-rw-r--r--load.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/load.c b/load.c
index be6b53d..ca7d492 100644
--- a/load.c
+++ b/load.c
@@ -26,7 +26,7 @@ struct Slice {
struct Insert {
uint isphi:1;
uint num:31;
- int bid;
+ uint bid;
uint off;
union {
Ins ins;
@@ -329,8 +329,8 @@ loadopt(Fn *fn)
{
Ins *i, *ib;
Blk *b;
- int n, sz;
- uint ni, ext, nt;
+ int sz;
+ uint n, ni, ext, nt;
Insert *ist;
Slice sl;
Loc l;