summaryrefslogtreecommitdiffstats
path: root/support/htcacheclean.c
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2010-11-30 20:48:06 +0100
committerGuenter Knauf <fuankg@apache.org>2010-11-30 20:48:06 +0100
commitc163534ebc480c4d0bd69459b049e8f32fad9aa7 (patch)
tree3de1d5b009f6d140efa18da0e9390bae563d0270 /support/htcacheclean.c
parentPR50382: explain in mod_env documentation that these environment variables a... (diff)
downloadapache2-c163534ebc480c4d0bd69459b049e8f32fad9aa7.tar.xz
apache2-c163534ebc480c4d0bd69459b049e8f32fad9aa7.zip
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;
}