/* slab.h
* Definitions for very simple slab handling
*
- * $Id: slab.h,v 1.4 2004/07/04 02:29:43 guy Exp $
+ * $Id$
*
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
#define SLAB_FREE(item, type) \
{ \
- ((union type ## slab_item *)item)->next_free = type ## _free_list; \
- type ## _free_list = (union type ## slab_item *)item; \
+ ((union type ## slab_item *)(void *)item)->next_free = type ## _free_list; \
+ type ## _free_list = (union type ## slab_item *)(void *)item; \
}
#endif /* slab.h */