summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-16 22:45:01 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-16 22:45:01 -0400
commitbca7e0c32df2c29e013e15f8254c3ccb7496dc99 (patch)
treed3920fc451f949470f4e412827d5318b68199139
parent76e877f125fb2a0ccbab0bed195ab10f5a1aa8a3 (diff)
downloadroux-bca7e0c32df2c29e013e15f8254c3ccb7496dc99.tar.gz
follow suggestion of gcc
-rw-r--r--lisc/lisc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index ff80900..e353a09 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -88,7 +88,7 @@ enum {
 #define CON_Z    CON(0)          /* reserved zero constant */
 #define SLOT(x)  (Ref){RSlot, x}
 #define TYP(x)   (Ref){RAlt, x}
-#define CALL(x)  (Ref){RAlt, x|RCallm}
+#define CALL(x)  (Ref){RAlt, (x)|RCallm}
 
 static inline int req(Ref a, Ref b)
 { return a.type == b.type && a.val == b.val; }