aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index 16e33ed9e..538218d14 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -566,7 +566,7 @@ load_custom_filters (struct rspamd_worker *worker, const gchar * path)
return FALSE;
}
- for (i = 0; i < gp.gl_pathc; i++) {
+ for (i = 0; i < (gint)gp.gl_pathc; i++) {
if (!load_custom_filter (worker->srv->cfg, gp.gl_pathv[i], ctx)) {
globfree (&gp);
return FALSE;