You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2013/10/05 15:14:37 UTC

svn commit: r1529449 - /httpd/httpd/trunk/include/http_protocol.h

Author: trawick
Date: Sat Oct  5 13:14:36 2013
New Revision: 1529449

URL: http://svn.apache.org/r1529449
Log:
ap_rputs() silently truncated size_t to int, resulting in 130+ warnings
when building httpd and a rich set of modules on Windows. 

Modified:
    httpd/httpd/trunk/include/http_protocol.h

Modified: httpd/httpd/trunk/include/http_protocol.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_protocol.h?rev=1529449&r1=1529448&r2=1529449&view=diff
==============================================================================
--- httpd/httpd/trunk/include/http_protocol.h (original)
+++ httpd/httpd/trunk/include/http_protocol.h Sat Oct  5 13:14:36 2013
@@ -411,7 +411,7 @@ AP_DECLARE(int) ap_rwrite(const void *bu
  */
 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);
 }
 
 /**