eliminate switch(long)

SCCS-file: zic.c
SCCS-SID: 2.2
This commit is contained in:
Arthur David Olson
2012-07-18 03:01:37 -04:00
committed by Paul Eggert
parent b70f952fb6
commit ac7344cb1f
+1 -1
View File
@@ -521,7 +521,7 @@ char * name;
if (nfields > 0) /* non-blank line */
if ((lp = byword(fields[0], line_codes)) == NULL)
error("input line of unknown type");
else switch (lp->l_value) {
else switch ((int) (lp->l_value)) {
case LC_RULE:
inrule(fields, nfields);
break;