summaryrefslogtreecommitdiff
path: root/src/tblcmp.c
diff options
context:
space:
mode:
authorMightyjo <mightyjo@gmail.com>2015-11-27 21:38:23 -0500
committerWill Estes <westes575@gmail.com>2015-11-29 17:20:22 -0500
commita97cf48486226d538797ef721c62a80b9327c43f (patch)
tree9744e98330df3c31dbeced82f7ad128bb5268221 /src/tblcmp.c
parent45db9033fefa30cdc263db6ede60807da7da89c5 (diff)
Replaced CHAR macro with unsigned char type.
Thanks to Michael McConville for pointing out that the old Char macro causes problems with static analysis. The macro has been removed and replaced with 'unsigned char' throughout the flex sources. The macro is not needed at best and was confusing at worst. It was not used in any of the example files nor was it mentioned in the manual at all.
Diffstat (limited to 'src/tblcmp.c')
-rw-r--r--src/tblcmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tblcmp.c b/src/tblcmp.c
index 69baca9..e6d549c 100644
--- a/src/tblcmp.c
+++ b/src/tblcmp.c
@@ -678,7 +678,7 @@ void mkprot (int state[], int statenum, int comstate)
void mktemplate (int state[], int statenum, int comstate)
{
int i, numdiff, tmpbase, tmp[CSIZE + 1];
- Char transset[CSIZE + 1];
+ unsigned char transset[CSIZE + 1];
int tsptr;
++numtemps;