summaryrefslogtreecommitdiffstats
path: root/modules/http/http_core.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-04-16 00:47:58 +0200
committerJeff Trawick <trawick@apache.org>2003-04-16 00:47:58 +0200
commit013339e87d7a32209308c1984f009308d4566566 (patch)
tree348bf8359ac34f299f604d7f0c3b06cdecffca4b /modules/http/http_core.c
parentEnable ap_sock_disable_nagle for Windows. This along with the addition of (diff)
downloadapache2-013339e87d7a32209308c1984f009308d4566566.tar.xz
apache2-013339e87d7a32209308c1984f009308d4566566.zip
fix some discrepancies between format strings and arguments,
resolving some warnings on 64-bit systems git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99374 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http/http_core.c')
-rw-r--r--modules/http/http_core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/http/http_core.c b/modules/http/http_core.c
index f2878ae2a2..f2c51c9cda 100644
--- a/modules/http/http_core.c
+++ b/modules/http/http_core.c
@@ -211,9 +211,8 @@ static apr_status_t chunk_filter(ap_filter_t *f, apr_bucket_brigade *b)
* Insert the chunk header, specifying the number of bytes in
* the chunk.
*/
- /* XXX might be nice to have APR_OFF_T_FMT_HEX */
hdr_len = apr_snprintf(chunk_hdr, sizeof(chunk_hdr),
- "%qx" CRLF, (apr_uint64_t)bytes);
+ "%" APR_UINT64_T_HEX_FMT CRLF, (apr_uint64_t)bytes);
ap_xlate_proto_to_ascii(chunk_hdr, hdr_len);
e = apr_bucket_transient_create(chunk_hdr, hdr_len,
c->bucket_alloc);