summaryrefslogtreecommitdiff
path: root/h225-persistentdata.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-07-04 02:29:43 +0000
committerGuy Harris <guy@alum.mit.edu>2004-07-04 02:29:43 +0000
commit003ecf68bbb0444adf5aee14613fd77422a5b07c (patch)
treeff6a518065974721889db1b12f3012728520fbd5 /h225-persistentdata.c
parent456c6cab6646e37a028c7a8ec1bae3a8b6f07f5e (diff)
downloadwireshark-003ecf68bbb0444adf5aee14613fd77422a5b07c.tar.gz
Instead of using pointer casts in the slab allocator stuff, add a
"SLAB_ITEM_TYPE_DEFINE()" macro to define a union of the type of object for the slab and a pointer to an object of that union type, and use that type for items on the slab allocator free lists; that *should* avoid having the compiler think two pointers to an item being added to or removed from the free list don't point to the same object just because they have different types. svn path=/trunk/; revision=11306
Diffstat (limited to 'h225-persistentdata.c')
0 files changed, 0 insertions, 0 deletions