From 1a679b3a20856698c60afa7ed7e80c256e438fe3 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 30 May 2000 17:40:38 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@15 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/stmt.c b/src/cc65/stmt.c index d04dc3064..d6560463a 100644 --- a/src/cc65/stmt.c +++ b/src/cc65/stmt.c @@ -497,7 +497,7 @@ static void tableswitch (struct expent* eval) g_switch (flags); /* First entry is negative of label count */ - g_defdata (CF_INT, -((int)lcount)-1, 0); + g_defdata (CF_INT | CF_CONST, -((int)lcount)-1, 0); /* Create the case selector table */ AddCodeHint ("casetable"); -- 2.39.5