summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-04-29 20:05:15 +0000
committerMiles Bader <miles@gnu.org>1996-04-29 20:05:15 +0000
commite9bd7ef945116242012320315b43ebab32502c64 (patch)
tree7abe7e4da77a979b8bf08f4f8a7a775a2c0aa2b7
parentb377db8a958278ad0d4a47058f1a5d55b7d8b4ba (diff)
(cacheq_make_mru, cacheq_make_lru): Type of LRU & MRU fields is now `void *'.
-rw-r--r--libshouldbeinlibc/cacheq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libshouldbeinlibc/cacheq.c b/libshouldbeinlibc/cacheq.c
index 8275dbe7..c8b0c989 100644
--- a/libshouldbeinlibc/cacheq.c
+++ b/libshouldbeinlibc/cacheq.c
@@ -42,7 +42,7 @@ cacheq_make_mru (struct cacheq *cq, void *entry)
/* Now make it MRU. */
h->next = cq->mru;
h->prev = 0;
- cq->mru->prev = h;
+ ((struct cacheq_hdr *)cq->mru)->prev = h;
cq->mru = h;
}
}
@@ -66,7 +66,7 @@ cacheq_make_lru (struct cacheq *cq, void *entry)
/* Now make it LRU. */
h->prev = cq->lru;
h->next = 0;
- cq->lru->next = h;
+ ((struct cacheq_hdr *)cq->lru)->next = h;
cq->lru = h;
}
}