]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Avoid hard-coded "%ld" format strings in mod_deflate's logging statements.
authorStefan Sperling <stsp@apache.org>
Sun, 23 Dec 2018 09:26:56 +0000 (09:26 +0000)
committerStefan Sperling <stsp@apache.org>
Sun, 23 Dec 2018 09:26:56 +0000 (09:26 +0000)
commitfef7dc6dac591879b467e91f5b5602c20faf5b42
tree10fcf960bf156a08caa7f4a8d2c081a58cc8251e
parent60bd654829dc95c91d510ce92ef61a66c53ea629
Avoid hard-coded "%ld" format strings in mod_deflate's logging statements.
On some platforms (e.g. OpenBSD) zlib's input/output counters are off_t
instead of ulong, which resuls in format-string warnings from some
compilers (e.g. clang). Work around this by upcasting to uint64_t.
Discussed on dev@ with ylavic and wrowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1849590 13f79535-47bb-0310-9956-ffa450edef68
modules/filters/mod_deflate.c