summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-07-20 05:20:20 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:28 -0400
commitbba9cf47c9badfb0b41c63764415ba7a3fe46d2d (patch)
tree71e48b800e481911217368956f83b2a3abfc98fc
parenta244ca17f1c4e81a92d26119d4f0b5137e93476b (diff)
downloadroux-bba9cf47c9badfb0b41c63764415ba7a3fe46d2d.tar.gz
fix small type issues
-rw-r--r--lisc/isel.c3
-rw-r--r--lisc/lisc.h2
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 {