httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1529449 - /httpd/httpd/trunk/include/http_protocol.h
Date Sat, 05 Oct 2013 13:14:37 GMT
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);
 }
 
 /**



Mime
View raw message