summaryrefslogtreecommitdiff
path: root/support/htcacheclean.c
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2010-11-30 19:48:06 +0000
committerGuenter Knauf <fuankg@apache.org>2010-11-30 19:48:06 +0000
commitc163534ebc480c4d0bd69459b049e8f32fad9aa7 (patch)
tree3de1d5b009f6d140efa18da0e9390bae563d0270 /support/htcacheclean.c
parent993c983f1096348d8f4855d6d81b5c49bc0196bd (diff)
downloadhttpd-c163534ebc480c4d0bd69459b049e8f32fad9aa7.tar.gz
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
Diffstat (limited to 'support/htcacheclean.c')
-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;
}