From 07033382ee8dcde798f8280e42aa2f5e8c2c7916 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Thu, 7 Nov 2019 20:35:54 +0100 Subject: [PATCH] Minor, type cast logit() argument for Coverity Scan Signed-off-by: Joachim Nilsson --- src/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syslogd.c b/src/syslogd.c index e6e7ddf..739f7a7 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -1655,7 +1655,7 @@ void fprintlog(struct filed *f, struct buf_msg *buffer) } } else logit("Forwarding suspension not over, time left: %d\n", - INET_SUSPEND_TIME - fwd_suspend); + (int)(INET_SUSPEND_TIME - fwd_suspend)); break; case F_FORW: