From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 11 Sep 2020 11:34:22 +0000 (+0200)
Subject: gif_deanimate_response(): Fix format specifiers in a log message
X-Git-Tag: v_3_0_29~142
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/faq/static/developer-manual/@default-cgi@show-url-info?a=commitdiff_plain;h=f66efec82a6bd567f6eac5a693e5bd0e7307062a;p=privoxy.git

gif_deanimate_response(): Fix format specifiers in a log message
---

diff --git a/filters.c b/filters.c
index cae3c846..6945d2f6 100644
--- a/filters.c
+++ b/filters.c
@@ -1959,7 +1959,8 @@ static char *gif_deanimate_response(struct client_state *csp)
       }
       else
       {
-         log_error(LOG_LEVEL_DEANIMATE, "Success! GIF shrunk from %d bytes to %d.", size, out->offset);
+         log_error(LOG_LEVEL_DEANIMATE,
+            "Success! GIF shrunk from %lu bytes to %lu.", size, out->offset);
       }
       csp->content_length = out->offset;
       csp->flags |= CSP_FLAG_MODIFIED;