diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-16 14:57:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-16 14:57:26 +0100 |
commit | 9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac (patch) | |
tree | 8e0cfba06430e2b0e40b26916a7ce55581e1baca /src/libserver/cfg_file.h | |
parent | ef583245356015ce29961e0f7ffdb5880edc5fc2 (diff) | |
download | rspamd-9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac.tar.gz rspamd-9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac.zip |
[Rework] Final efforts to make it compileable
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index 0d85e5f5e..3f876ab23 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -856,9 +856,9 @@ gboolean rspamd_config_libs(struct rspamd_external_libs_ctx *ctx, cfg->cfg_pool->tag.tagname, cfg->checksum, \ RSPAMD_LOG_FUNC, \ __VA_ARGS__) -#define msg_err_config_forced(...) rspamd_default_log_function(G_LOG_LEVEL_CRITICAL | RSPAMD_LOG_FORCED, \ - cfg->cfg_pool->tag.tagname, cfg->checksum, \ - RSPAMD_LOG_FUNC, \ +#define msg_err_config_forced(...) rspamd_default_log_function((gint) G_LOG_LEVEL_CRITICAL | (gint) RSPAMD_LOG_FORCED, \ + cfg->cfg_pool->tag.tagname, cfg->checksum, \ + RSPAMD_LOG_FUNC, \ __VA_ARGS__) #define msg_warn_config(...) rspamd_default_log_function(G_LOG_LEVEL_WARNING, \ cfg->cfg_pool->tag.tagname, cfg->checksum, \ |