prepare_csp_for_next_request(): Fix format specifiers in a log message
authorFabian Keil <fk@fabiankeil.de>
Fri, 11 Sep 2020 11:59:08 +0000 (13:59 +0200)
committerFabian Keil <fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:40 +0000 (16:35 +0200)
jcc.c

diff --git a/jcc.c b/jcc.c
index e21165b..581768f 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -4253,7 +4253,7 @@ static void prepare_csp_for_next_request(struct client_state *csp)
       assert(bytes_to_shift > 0);
       assert(data_length > 0);
 
-      log_error(LOG_LEVEL_CONNECT, "Shifting %d pipelined bytes by %d bytes",
+      log_error(LOG_LEVEL_CONNECT, "Shifting %lu pipelined bytes by %ld bytes",
          data_length, bytes_to_shift);
       memmove(csp->client_iob->buf, csp->client_iob->cur, data_length);
       csp->client_iob->cur = csp->client_iob->buf;