From 0a526a417995ebee0a25ead648978c94bfcbb6cd Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Sep 2020 14:06:26 +0200 Subject: [PATCH] decompress_iob_with_brotli(): Fix format specifiers in two log messages --- parsers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers.c b/parsers.c index cafbd364..7418a60b 100644 --- a/parsers.c +++ b/parsers.c @@ -440,7 +440,7 @@ static jb_err decompress_iob_with_brotli(struct client_state *csp) if (decoded_buffer == NULL) { log_error(LOG_LEVEL_ERROR, - "Failed to allocate %d bytes for Brotli decompression", + "Failed to allocate %lu bytes for Brotli decompression", decoded_buffer_size); return JB_ERR_MEMORY; } @@ -461,7 +461,7 @@ static jb_err decompress_iob_with_brotli(struct client_state *csp) csp->iob->size = decoded_buffer_size; log_error(LOG_LEVEL_RE_FILTER, - "Decompression successful. Old size: %d, new size: %d.", + "Decompression successful. Old size: %lu, new size: %lu.", encoded_size, decoded_size); return JB_ERR_OK; -- 2.39.2