diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-07-20 05:20:20 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:28 -0400 |
commit | bba9cf47c9badfb0b41c63764415ba7a3fe46d2d (patch) | |
tree | 71e48b800e481911217368956f83b2a3abfc98fc /lisc | |
parent | a244ca17f1c4e81a92d26119d4f0b5137e93476b (diff) | |
download | roux-bba9cf47c9badfb0b41c63764415ba7a3fe46d2d.tar.gz |
fix small type issues
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/isel.c | 3 | ||||
-rw-r--r-- | lisc/lisc.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lisc/isel.c b/lisc/isel.c index d47ed0f..78e2c9b 100644 --- a/lisc/isel.c +++ b/lisc/isel.c @@ -80,7 +80,8 @@ isel(Fn *fn) { Blk *b; Ins *i; - int t0, t, nins; + int t0, t; + uint nins; t0 = fn->ntmp; for (b=fn->start; b; b=b->link) { diff --git a/lisc/lisc.h b/lisc/lisc.h index bc22a41..5c9063a 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -142,7 +142,7 @@ struct Sym { STmp, } type; char name[NString]; - int ndef, nuse; + uint ndef, nuse; }; struct Fn { |