aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-12 21:44:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-12 21:44:22 +0100
commite900e3fce155c8ad08c69b3be0668e25262b15d1 (patch)
treec7edc70667ca9f13fee88faced42a8a562b0f2b8 /src/libstat
parentaf366b20a32902e5e3aa222d3f087ff085901a49 (diff)
downloadrspamd-e900e3fce155c8ad08c69b3be0668e25262b15d1.tar.gz
rspamd-e900e3fce155c8ad08c69b3be0668e25262b15d1.zip
[Minor] Some more alignment fixes
Diffstat (limited to 'src/libstat')
-rw-r--r--src/libstat/tokenizers/tokenizers.c4
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 */