]> granicus.if.org Git - apache/commitdiff
Fixed return type to silent compiler warning.
authorGuenter Knauf <fuankg@apache.org>
Tue, 30 Nov 2010 19:48:06 +0000 (19:48 +0000)
committerGuenter Knauf <fuankg@apache.org>
Tue, 30 Nov 2010 19:48:06 +0000 (19:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1040733 13f79535-47bb-0310-9956-ffa450edef68

support/htcacheclean.c

index 311dbcd05db798b1c60456a1cda2d0de19cf425c..92984333a95929f2e3258322695d2ab37bdec04f 100644 (file)
@@ -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;
 }