X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fhashtable.h;h=4dc223fec61b4c0f31adbdfb310d11dfb2dde8c2;hb=c5fbc7b75705d1f7a322ad73e6055284a3b94e73;hp=ec581ed777bb9743826b963204bb6e940965837f;hpb=47a0795e8a28e8ad6ff55cda89e300267d9e590c;p=libucw.git diff --git a/lib/hashtable.h b/lib/hashtable.h index ec581ed7..4dc223fe 100644 --- a/lib/hashtable.h +++ b/lib/hashtable.h @@ -349,8 +349,8 @@ static inline void P(cleanup_alloc) (TAU) { } #endif #ifdef HASH_TABLE_ALLOC -static inline void * P(table_alloc) (TAUC unsigned int size) { return P(alloc)(size); } -static inline void P(table_free) (TAUC void *x) { P(free)(x); } +static inline void * P(table_alloc) (TAUC unsigned int size) { return P(alloc)(TTC size); } +static inline void P(table_free) (TAUC void *x) { P(free)(TTC x); } #else static inline void * P(table_alloc) (TAUC unsigned int size) { return xmalloc(size); } static inline void P(table_free) (TAUC void *x) { xfree(x); }