diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/third_party/src/ahocorasick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/third_party/src/ahocorasick.c b/src/lib/third_party/src/ahocorasick.c index 39b08443b..aefd7ae03 100644 --- a/src/lib/third_party/src/ahocorasick.c +++ b/src/lib/third_party/src/ahocorasick.c @@ -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__ |