aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/rspamd_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c
index b16ddf68f..ef17ac24f 100644
--- a/src/libserver/rspamd_control.c
+++ b/src/libserver/rspamd_control.c
@@ -782,7 +782,7 @@ rspamd_control_ignore_io_handler (int fd, short what, void *ud)
/* At this point we just ignore replies from the workers */
if (read (fd, &rep, sizeof (rep)) == -1) {
- msg_debug("cannot read %d bytes: %s", sizeof(rep), strerror(errno));
+ msg_debug("cannot read %d bytes: %s", (int)sizeof(rep), strerror(errno));
}
rspamd_control_stop_pending (elt);
}