]> granicus.if.org Git - apache/commitdiff
another warning.
authorAndré Malo <nd@apache.org>
Sat, 6 Nov 2004 20:48:13 +0000 (20:48 +0000)
committerAndré Malo <nd@apache.org>
Sat, 6 Nov 2004 20:48:13 +0000 (20:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105707 13f79535-47bb-0310-9956-ffa450edef68

support/htcacheclean.c

index 6b4a0b8ca61a0d25f20409d5acf9ec1a0720444d..11db63dd8663f47dbd5baf83d4db4a75810b5a5e 100644 (file)
@@ -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,