diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-12 21:44:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-12 21:44:22 +0100 |
commit | e900e3fce155c8ad08c69b3be0668e25262b15d1 (patch) | |
tree | c7edc70667ca9f13fee88faced42a8a562b0f2b8 /src/libstat | |
parent | af366b20a32902e5e3aa222d3f087ff085901a49 (diff) | |
download | rspamd-e900e3fce155c8ad08c69b3be0668e25262b15d1.tar.gz rspamd-e900e3fce155c8ad08c69b3be0668e25262b15d1.zip |
[Minor] Some more alignment fixes
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/tokenizers/tokenizers.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstat/tokenizers/tokenizers.c b/src/libstat/tokenizers/tokenizers.c index 12b860b67..ea3c84c67 100644 --- a/src/libstat/tokenizers/tokenizers.c +++ b/src/libstat/tokenizers/tokenizers.c @@ -173,13 +173,9 @@ rspamd_tokenize_check_limit (gboolean decay, if (!decay) { if (token->original.len >= sizeof (guint64)) { -#ifdef _MUM_UNALIGNED_ACCESS - *hv = mum_hash_step (*hv, *(guint64 *)token->original.begin); -#else guint64 tmp; memcpy (&tmp, token->original.begin, sizeof (tmp)); *hv = mum_hash_step (*hv, tmp); -#endif } /* Check for decay */ |