diff options
Diffstat (limited to 'src/rspamadm/fuzzy_merge.c')
-rw-r--r-- | src/rspamadm/fuzzy_merge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rspamadm/fuzzy_merge.c b/src/rspamadm/fuzzy_merge.c index fac5e0a45..01d2e137c 100644 --- a/src/rspamadm/fuzzy_merge.c +++ b/src/rspamadm/fuzzy_merge.c @@ -210,9 +210,11 @@ static guint rspamadm_op_hash (gconstpointer p) { const struct fuzzy_merge_op *op = p; + guint res; /* Uniformly distributed */ - return *(guint *)op->digest; + memcpy (&res, op->digest, sizeof (res)); + return res; } static gboolean |