From 1ce3115aab9f364750d868d4ec8059dacb68a798 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sat, 5 Oct 2013 13:14:36 +0000 Subject: [PATCH] ap_rputs() silently truncated size_t to int, resulting in 130+ warnings when building httpd and a rich set of modules on Windows. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529449 13f79535-47bb-0310-9956-ffa450edef68 --- include/http_protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/http_protocol.h b/include/http_protocol.h index 57fc9c0f66..93824bf238 100644 --- a/include/http_protocol.h +++ b/include/http_protocol.h @@ -411,7 +411,7 @@ AP_DECLARE(int) ap_rwrite(const void *buf, int nbyte, request_rec *r); */ static APR_INLINE int ap_rputs(const char *str, request_rec *r) { - return ap_rwrite(str, strlen(str), r); + return ap_rwrite(str, (int)strlen(str), r); } /** -- 2.40.0