commit 1172077: [Minor] Fix type

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Jul 18 18:00:05 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-18 18:57:07 +0100
URL: https://github.com/rspamd/rspamd/commit/1172077098acc022e0769a2c9e33044a1070f03e (HEAD -> master)

[Minor] Fix type

---
 src/client/rspamc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index ea2fe0d4c..e118688d0 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -1609,7 +1609,7 @@ rspamc_client_cb (struct rspamd_client_connection *conn,
 
 					if (raw) {
 						/* We can also output the resulting json */
-						rspamd_fprintf (out, "%*s\n", (gint)rawlen - bodylen,
+						rspamd_fprintf (out, "%*s\n", (gint)(rawlen - bodylen),
 								raw);
 					}
 				}


More information about the Commits mailing list