aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libserver/cfg_rcl.c12
-rw-r--r--src/libserver/cfg_rcl.h12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index f7a9a7be4..24e9fe605 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -2527,12 +2527,12 @@ rspamd_rcl_parse_struct_mime_addr (rspamd_mempool_t *pool,
void
rspamd_rcl_register_worker_option (struct rspamd_config *cfg,
- gint type,
- const gchar *name,
- rspamd_rcl_default_handler_t handler,
- gpointer target,
- gsize offset,
- gint flags)
+ gint type,
+ const gchar *name,
+ rspamd_rcl_default_handler_t handler,
+ gpointer target,
+ glong offset,
+ gint flags)
{
struct rspamd_worker_param_parser *nhandler;
struct rspamd_worker_cfg_parser *nparser;
diff --git a/src/libserver/cfg_rcl.h b/src/libserver/cfg_rcl.h
index 92b266920..c242d6be9 100644
--- a/src/libserver/cfg_rcl.h
+++ b/src/libserver/cfg_rcl.h
@@ -318,12 +318,12 @@ gboolean rspamd_rcl_parse_struct_mime_addr (rspamd_mempool_t *pool,
* @param offset offset inside a structure
*/
void rspamd_rcl_register_worker_option (struct rspamd_config *cfg,
- gint type,
- const gchar *name,
- rspamd_rcl_default_handler_t handler,
- gpointer target,
- gsize offset,
- gint flags);
+ gint type,
+ const gchar *name,
+ rspamd_rcl_default_handler_t handler,
+ gpointer target,
+ glong offset,
+ gint flags);
/**
* Register a default parser for a worker