From a876e9d6c8d8c5cd03c6d3883fb6f49e938088e1 Mon Sep 17 00:00:00 2001 From: Radim Kolar <> Date: Tue, 22 Sep 2009 17:48:36 +0200 Subject: [PATCH] next pointers in fifocache must be int8_t also --- server/fifocache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/fifocache.h b/server/fifocache.h index 9d040c6..bff5edf 100644 --- a/server/fifocache.h +++ b/server/fifocache.h @@ -12,11 +12,11 @@ struct FifoCache { unsigned int cachesize; /* max. number of entries */ int8_t *e_head;/* block of cache entries, every entry has entrysize bytes */ - void *e_next; /* new intem will be placed there */ + int8_t *e_next; /* new intem will be placed there */ const void *e_stop; /* stop mark for entries, never write here! */ unsigned int entrysize; /* size of 1 entry in bytes */ int8_t *k_head; /* block of keys starts there */ - void *k_next; /* new item */ + int8_t *k_next; /* new item */ const void *k_stop; /* stop mark for key entries */ unsigned int keysize; /* size of 1 key in bytes */ void (*k_destroy_func) (void *key); /* key destoy function */