Fix a compilation error with gdbm
[apps/madmutt.git] / hcache.c
index 9c78a82..496fd09 100644 (file)
--- a/hcache.c
+++ b/hcache.c
@@ -712,7 +712,7 @@ mutt_hcache_delete(void *db, const char *filename,
 
 void *mutt_hcache_open (const char *path, const char *folder)
 {
-  struct header_cache *h = p_new(HEADER_CACHE, 1);
+  struct header_cache *h = p_new(struct header_cache, 1);
   int pagesize =
     atoi (HeaderCachePageSize) ? atoi (HeaderCachePageSize) : 16384;
   h->db = NULL;