From: Vsevolod Stakhov Date: Sun, 13 Dec 2015 16:58:43 +0000 (+0000) Subject: Fix signature slightly X-Git-Tag: 1.1.0~323 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=76c44c361d866c35899394aab9f062e81f04a229;p=rspamd.git Fix signature slightly --- 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