From: Stefan Eissing Date: Mon, 19 Mar 2018 08:42:29 +0000 (+0000) Subject: mod_http2: use proper ARP defined for formatting apr_off_t X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e02088a5dc2093ca0a7abe5e88872230f19fca0;p=apache mod_http2: use proper ARP defined for formatting apr_off_t git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1827166 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_filter.c b/modules/http2/h2_filter.c index f10d2decc3..2ea44156fe 100644 --- a/modules/http2/h2_filter.c +++ b/modules/http2/h2_filter.c @@ -353,8 +353,8 @@ static int add_stream(h2_stream *stream, void *ctx) bbout(x->bb, " \"created\": %f,\n", ((double)stream->created)/APR_USEC_PER_SEC); bbout(x->bb, " \"flowIn\": %d,\n", flowIn); bbout(x->bb, " \"flowOut\": %d,\n", flowOut); - bbout(x->bb, " \"dataIn\": %"APR_UINT64_T_FMT",\n", stream->in_data_octets); - bbout(x->bb, " \"dataOut\": %"APR_UINT64_T_FMT"\n", stream->out_data_octets); + bbout(x->bb, " \"dataIn\": %"APR_OFF_T_FMT",\n", stream->in_data_octets); + bbout(x->bb, " \"dataOut\": %"APR_OFF_T_FMT"\n", stream->out_data_octets); bbout(x->bb, " }"); ++x->idx;