Quieten complaining compilers.
[exim.git] / src / src / smtp_in.c
index e3746d99db3147db7e316e6c2f7359dc9d112b5e..5bc331fc3c2bf1642eff053c416724df63ca0606 100644 (file)
@@ -4328,7 +4328,7 @@ while (done <= 0)
     incomplete_transaction_log(US"too many non-mail commands");
     log_write(0, LOG_MAIN|LOG_REJECT, "SMTP call from %s dropped: too many "
       "nonmail commands (last was \"%.*s\")",  host_and_ident(FALSE),
-      s - smtp_cmd_buffer, smtp_cmd_buffer);
+      (int)(s - smtp_cmd_buffer), smtp_cmd_buffer);
     smtp_notquit_exit(US"bad-commands", US"554", US"Too many nonmail commands");
     done = 1;   /* Pretend eof - drops connection */
     break;