From 6e17fc9600d13f16c862d0c367ca09ed8c04dbe3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 25 Sep 2019 16:12:56 +0100 Subject: [PATCH] [Minor] Fix for gcc --- contrib/lc-btrie/btrie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lc-btrie/btrie.c b/contrib/lc-btrie/btrie.c index 6e529db90..81b69b2b9 100644 --- a/contrib/lc-btrie/btrie.c +++ b/contrib/lc-btrie/btrie.c @@ -631,8 +631,8 @@ static inline unsigned count_bits_from(tbm_bitmap_t bm, int b) } /* extracts a few bits from bitstring, returning them as an integer */ -static inline btrie_oct_t extract_bits(const btrie_oct_t *prefix, unsigned pos, - unsigned nbits) RSPAMD_NO_SANITIZE +static inline btrie_oct_t RSPAMD_NO_SANITIZE extract_bits(const btrie_oct_t *prefix, unsigned pos, + unsigned nbits) { if (nbits == 0) return 0; -- 2.39.5