httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1040733 - /httpd/httpd/trunk/support/htcacheclean.c
Date Tue, 30 Nov 2010 19:48:07 GMT
Author: fuankg
Date: Tue Nov 30 19:48:06 2010
New Revision: 1040733

URL: http://svn.apache.org/viewvc?rev=1040733&view=rev
Log:
Fixed return type to silent compiler waring.

Modified:
    httpd/httpd/trunk/support/htcacheclean.c

Modified: httpd/httpd/trunk/support/htcacheclean.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/htcacheclean.c?rev=1040733&r1=1040732&r2=1040733&view=diff
==============================================================================
--- httpd/httpd/trunk/support/htcacheclean.c (original)
+++ httpd/httpd/trunk/support/htcacheclean.c Tue Nov 30 19:48:06 2010
@@ -255,7 +255,7 @@ static void printstats(char *path, struc
  */
 static apr_size_t round_up(apr_size_t val, apr_off_t round) {
     if (round > 1) {
-        return ((val + round - 1) / round) * round;
+        return (apr_size_t)(((val + round - 1) / round) * round);
     }
     return val;
 }



Mime
View raw message