summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-08 09:47:00 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-08 09:47:00 -0400
commit206a0e55ba61f28386590a58f53eca49a616e2ce (patch)
tree744e30b191fb58e52d713c26339035c52eb0099e
parent15cee065a57ed7c7f5272bb6b60f7518121ec4da (diff)
downloadroux-206a0e55ba61f28386590a58f53eca49a616e2ce.tar.gz
avoid gcc warning in emit
-rw-r--r--emit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/emit.c b/emit.c
index 02f5880..bbb89c3 100644
--- a/emit.c
+++ b/emit.c
@@ -249,9 +249,10 @@ Next:
 	case '=':
 		sz = KWIDE(i->cls) ? SLong : SWord;
 		s--;
-		/* fall through */
+		goto Ref;
 	case 'D':
 	case 'S':
+		sz = SLong; /* does not matter for floats */
 	Ref:
 		c = *s++;
 		ref = getarg(c, i);