Bug fixing. (#1459)
The '--enable-debug-messages' option works again. Fixed warning in ahocorasick.c Fixed integer overflow in ndpiReader.c for 32bit systems.
This commit is contained in:
+1
-1
@@ -798,7 +798,7 @@ static void node_release(AC_NODE_t * thiz, int free_pattern)
|
||||
|
||||
/* Nonzero if X is not aligned on a "long" boundary. */
|
||||
#undef UNALIGNED /* Windows defined it but differently from what Aho expects */
|
||||
#define UNALIGNED(X) ((long)X & (__SIZEOF_LONG__ - 1))
|
||||
#define UNALIGNED(X) ((intptr_t)X & (__SIZEOF_LONG__ - 1))
|
||||
|
||||
#define LBLOCKSIZE __SIZEOF_LONG__
|
||||
|
||||
|
||||
Reference in New Issue
Block a user