int count;
#ifdef USE_HCACHE
- void *hc = NULL;
+ hcache_t *hc = NULL;
void *data;
struct timeval *when = NULL;
struct stat lastchanged;
}
if (data != NULL && !ret && lastchanged.st_mtime <= when->tv_sec) {
- p->h = mutt_hcache_restore ((unsigned char *) data, &p->h);
+ p->h = mutt_hcache_restore(data, &p->h);
maildir_parse_flags (p->h, fn);
}
else
#endif
}
#ifdef USE_HCACHE
- mutt_hcache_close (hc);
+ mutt_hcache_close (&hc);
#endif
}