diff options
-rw-r--r-- | src/libserver/rspamd_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c index 21a8c495e..e1c39ccaa 100644 --- a/src/libserver/rspamd_control.c +++ b/src/libserver/rspamd_control.c @@ -929,7 +929,7 @@ rspamd_srv_handler (EV_P_ ev_io *w, int revents) } else if (r != sizeof (cmd)) { msg_err ("cannot read from worker's srv pipe incomplete command: %d != %d; command = %s", - (gint)r, sizeof(cmd), rspamd_srv_command_to_string(cmd.type)); + (gint)r, (gint)sizeof(cmd), rspamd_srv_command_to_string(cmd.type)); } else { rdata = g_malloc0 (sizeof (*rdata)); |