aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_radix_test.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 14:56:16 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 14:56:16 +0000
commit6b2b4167187fee09365271cca182866ecb029af3 (patch)
treea085717bc896b25ff4280eb86abecca0d5c36767 /test/rspamd_radix_test.c
parent47bcfc8360dfa1754474580e779314b8d6a78da6 (diff)
downloadrspamd-6b2b4167187fee09365271cca182866ecb029af3.tar.gz
rspamd-6b2b4167187fee09365271cca182866ecb029af3.zip
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
Diffstat (limited to 'test/rspamd_radix_test.c')
-rw-r--r--test/rspamd_radix_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rspamd_radix_test.c b/test/rspamd_radix_test.c
index 8d31dc169..466f355cf 100644
--- a/test/rspamd_radix_test.c
+++ b/test/rspamd_radix_test.c
@@ -38,7 +38,7 @@ struct _tv {
const char *ip;
const char *nip;
const char *m;
- guint32 mask;
+ uint32_t mask;
guint8 *addr;
guint8 *naddr;
gsize len;
@@ -207,10 +207,10 @@ void rspamd_radix_test_func(void)
struct btrie *btrie;
rspamd_mempool_t *pool;
struct {
- guint32 addr;
- guint32 mask;
+ uint32_t addr;
+ uint32_t mask;
guint8 addr6[16];
- guint32 mask6;
+ uint32_t mask6;
guint8 addr64[16];
} *addrs;
gsize nelts, i, check;