You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@apache.org on 2018/12/23 14:26:07 UTC
svn commit: r1849630 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Author: stsp
Date: Sun Dec 23 14:26:06 2018
New Revision: 1849630
URL: http://svn.apache.org/viewvc?rev=1849630&view=rev
Log:
Use apr_uint64_t instead of uint64_t; Pointed out by ylavic
Modified:
httpd/httpd/trunk/modules/filters/mod_deflate.c
Modified: httpd/httpd/trunk/modules/filters/mod_deflate.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_deflate.c?rev=1849630&r1=1849629&r2=1849630&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Sun Dec 23 14:26:06 2018
@@ -895,8 +895,8 @@ static apr_status_t deflate_out_filter(a
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01384)
"Zlib: Compressed %" APR_UINT64_T_FMT
" to %" APR_UINT64_T_FMT " : URL %s",
- (uint64_t)ctx->stream.total_in,
- (uint64_t)ctx->stream.total_out, r->uri);
+ (apr_uint64_t)ctx->stream.total_in,
+ (apr_uint64_t)ctx->stream.total_out, r->uri);
/* leave notes for logging */
if (c->note_input_name) {
@@ -1442,8 +1442,8 @@ static apr_status_t deflate_in_filter(ap
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01393)
"Zlib: Inflated %" APR_UINT64_T_FMT
" to %" APR_UINT64_T_FMT " : URL %s",
- (uint64_t)ctx->stream.total_in,
- (uint64_t)ctx->stream.total_out, r->uri);
+ (apr_uint64_t)ctx->stream.total_in,
+ (apr_uint64_t)ctx->stream.total_out, r->uri);
consume_buffer(ctx, c, c->bufferSize - ctx->stream.avail_out,
UPDATE_CRC, ctx->proc_bb);
@@ -1465,7 +1465,7 @@ static apr_status_t deflate_in_filter(ap
"Zlib: Length %" APR_UINT64_T_FMT
" of inflated data does not match"
" expected value %ld",
- (uint64_t)ctx->stream.total_out, compLen);
+ (apr_uint64_t)ctx->stream.total_out, compLen);
return APR_EGENERAL;
}
}
@@ -1634,8 +1634,8 @@ static apr_status_t inflate_out_filter(a
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01398)
"Zlib: Inflated %" APR_UINT64_T_FMT
" to %" APR_UINT64_T_FMT " : URL %s",
- (uint64_t)ctx->stream.total_in,
- (uint64_t)ctx->stream.total_out, r->uri);
+ (apr_uint64_t)ctx->stream.total_in,
+ (apr_uint64_t)ctx->stream.total_out, r->uri);
if (ctx->validation_buffer_length == VALIDATION_SIZE) {
unsigned long compCRC, compLen;