From b83898646120c34cc4f76c1dfe325ea36a7ebab7 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Thu, 16 Feb 2023 10:09:02 +0000 Subject: Fix signedness formatting check in mod_dav code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907695 13f79535-47bb-0310-9956-ffa450edef68 --- modules/dav/main/ms_wdv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/dav/main/ms_wdv.c b/modules/dav/main/ms_wdv.c index 62f14382a9..adbfb148d9 100644 --- a/modules/dav/main/ms_wdv.c +++ b/modules/dav/main/ms_wdv.c @@ -552,8 +552,8 @@ static dav_error *mswdv_combined_propfind(request_rec *r) bb = apr_brigade_create(r->pool,r->output_filters->c->bucket_alloc); - apr_brigade_printf(bb, NULL, NULL, - "%016" APR_UINT64_T_HEX_FMT, length); + apr_brigade_printf(bb, NULL, NULL, "%016" APR_UINT64_T_HEX_FMT, + (apr_uint64_t)length); APR_BRIGADE_CONCAT(bb, bbsub); @@ -569,8 +569,8 @@ static dav_error *mswdv_combined_propfind(request_rec *r) return dav_new_error(r->pool, HTTP_BAD_REQUEST, 0, 0, "Not a plain file"); - apr_brigade_printf(bb, NULL, NULL, - "%016" APR_UINT64_T_HEX_FMT, rr->finfo.size); + apr_brigade_printf(bb, NULL, NULL, "%016" APR_UINT64_T_HEX_FMT, + (apr_uint64_t)rr->finfo.size); ap_set_content_type(r, "multipart/MSDAVEXTPrefixEncoded"); -- cgit v1.2.3