From ed943e7e1d6dd3aed3a6247f4d3a05e710aa7379 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Sep 2020 13:59:08 +0200 Subject: [PATCH] prepare_csp_for_next_request(): Fix format specifiers in a log message --- jcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jcc.c b/jcc.c index e21165bd..581768f7 100644 --- 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; -- 2.39.2