summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--support/htcacheclean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/htcacheclean.c b/support/htcacheclean.c
index 311dbcd05d..92984333a9 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;
}