diff options
author | Joe Orton <jorton@apache.org> | 2003-12-12 13:36:50 +0100 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2003-12-12 13:36:50 +0100 |
commit | 4de16bd525ed0d6080997299ad04ccb16ae7fd37 (patch) | |
tree | 0b260036490604edc124587bab8d484537c62c47 /modules/proxy | |
parent | If you ignore a problem long enough, it'll be fixed by someone else. (diff) | |
download | apache2-4de16bd525ed0d6080997299ad04ccb16ae7fd37.tar.xz apache2-4de16bd525ed0d6080997299ad04ccb16ae7fd37.zip |
Fix format string warnings from gcc on amd64:
* modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_store):
Print apr_size_t using APR_SIZE_T_FMT.
* modules/ssl/ssl_engine_io.c (ssl_filter_write): Print difference
between sizes using APR_SSIZE_T_FMT, apr_size_t using APR_SIZE_T_FMT.
* modules/proxy/proxy_http.c (ap_proxy_http_request): Print
apr_uint64_t using APR_UINT64_T_HEX_FMT.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102037 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy')
-rw-r--r-- | modules/proxy/proxy_http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index aab0661390..18bc5a8819 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -700,7 +700,8 @@ apr_status_t ap_proxy_http_request(apr_pool_t *p, request_rec *r, apr_brigade_length(input_brigade, 1, &bytes); 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, |