commit 186e68a8d33e65884e122222e7f14f64492143c1
parent bba9cf47c9badfb0b41c63764415ba7a3fe46d2d
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Mon, 20 Jul 2015 06:02:46 -0400
single bit bitfield needs to be unsigned
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisc/Makefile b/lisc/Makefile
@@ -1,7 +1,7 @@
BIN = lisc
OBJ = main.o parse.o ssa.o live.o isel.o
-CFLAGS = -Wall -Wextra -std=c11 -g
+CFLAGS = -Wall -Wextra -std=c11 -g -pedantic
$(BIN): $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) -o $@
diff --git a/lisc/lisc.h b/lisc/lisc.h
@@ -98,7 +98,7 @@ enum {
struct OpDesc {
int arity;
- int commut:1;
+ uint commut:1;
char *name;
};