summaryrefslogtreecommitdiff
path: root/src/main.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/main.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/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index efd14a1..c4bf728 100644
--- a/src/main.c
+++ b/src/main.c
@@ -94,7 +94,7 @@ int *accsiz, *dhash, numas;
int numsnpairs, jambase, jamstate;
int lastccl, *cclmap, *ccllen, *cclng, cclreuse;
int current_maxccls, current_max_ccl_tbl_size;
-Char *ccltbl;
+unsigned char *ccltbl;
char nmstr[MAXLINE];
int sectnum, nummt, hshcol, dfaeql, numeps, eps2, num_reallocs;
int tmpuses, totnst, peakpairs, numuniq, numdup, hshsave;