From: Guenter Knauf Date: Tue, 30 Nov 2010 19:48:06 +0000 (+0000) Subject: Fixed return type to silent compiler warning. X-Git-Tag: 2.3.10~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c163534ebc480c4d0bd69459b049e8f32fad9aa7;p=thirdparty%2Fapache%2Fhttpd.git Fixed return type to silent compiler warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1040733 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/htcacheclean.c b/support/htcacheclean.c index 311dbcd05db..92984333a95 100644 --- a/support/htcacheclean.c +++ b/support/htcacheclean.c @@ -255,7 +255,7 @@ static void printstats(char *path, struct stats *s) */ 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; }