ahocorasick: fix char/uchar bug (#1597)

Porting of https://github.com/vel21ripn/nDPI/commit/06e2967d0c26ab214683a2f5565f4012fd523537
Close #1506
This commit is contained in:
Ivan Nardi
2022-07-20 10:59:17 +02:00
committed by GitHub
parent be1ac1b430
commit ac1113b9ac
2 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ typedef struct ac_node
struct edge *outgoing; /* Array of outgoing edges */
struct ac_node *failure_node; /* The failure node of this node */
AC_ALPHABET_t *a_ptr;
unsigned char *a_ptr;
} AC_NODE_t;
struct edge {