diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 14:56:16 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 14:56:16 +0000 |
commit | 6b2b4167187fee09365271cca182866ecb029af3 (patch) | |
tree | a085717bc896b25ff4280eb86abecca0d5c36767 /src/libstat/stat_api.h | |
parent | 47bcfc8360dfa1754474580e779314b8d6a78da6 (diff) | |
download | rspamd-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 'src/libstat/stat_api.h')
-rw-r--r-- | src/libstat/stat_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/stat_api.h b/src/libstat/stat_api.h index 798d0b481..af3cdc8b9 100644 --- a/src/libstat/stat_api.h +++ b/src/libstat/stat_api.h @@ -55,7 +55,7 @@ typedef struct rspamd_stat_token_s { #define RSPAMD_TOKEN_VALUE_TYPE float typedef struct token_node_s { - guint64 data; + uint64_t data; guint window_idx; guint flags; rspamd_stat_token_t *t1; @@ -136,7 +136,7 @@ rspamd_stat_result_t rspamd_stat_learn(struct rspamd_task *task, */ rspamd_stat_result_t rspamd_stat_statistics(struct rspamd_task *task, struct rspamd_config *cfg, - guint64 *total_learns, + uint64_t *total_learns, ucl_object_t **res); void rspamd_stat_unload(void); |