aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-25 16:12:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-25 16:12:56 +0100
commit6e17fc9600d13f16c862d0c367ca09ed8c04dbe3 (patch)
treee914e2278c4c48a35349cd72095ed1ad0e056aed
parent53ee76478db9ef0ce457773b8b158fb30c381a39 (diff)
downloadrspamd-6e17fc9600d13f16c862d0c367ca09ed8c04dbe3.tar.gz
rspamd-6e17fc9600d13f16c862d0c367ca09ed8c04dbe3.zip
[Minor] Fix for gcc
-rw-r--r--contrib/lc-btrie/btrie.c4
1 files 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;