From 6c3e96a5affae8ff0b3f469c905ab0f18d91adf4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Sat, 6 Nov 2004 20:48:13 +0000 Subject: [PATCH] another warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105707 13f79535-47bb-0310-9956-ffa450edef68 --- support/htcacheclean.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/support/htcacheclean.c b/support/htcacheclean.c index 6b4a0b8ca6..11db63dd86 100644 --- a/support/htcacheclean.c +++ b/support/htcacheclean.c @@ -473,7 +473,11 @@ static int process_dir(char *path, apr_pool_t *pool) path[baselen] = '\0'; for (i = apr_hash_first(p, h); i && !interrupted; i = apr_hash_next(i)) { - apr_hash_this(i, NULL, NULL, (void **)(&d)); + void *hvalue; + + apr_hash_this(i, NULL, NULL, &hvalue); + d = hvalue; + switch(d->type) { case HEADERDATA: nextpath = apr_pstrcat(p, path, "/", d->basename, -- 2.50.1