Commit a008ffcf authored by Pekka Pessi's avatar Pekka Pessi

test_htable2.c: removed conversion warning

Conversion of size_t to isize_t when compiled wihout --disable-size-compat.

darcs-hash:20071127184341-65a35-e5a52d60a39ffd679be5cb52b71b7e19cb8a9c35.gz
parent 3b7b2230
......@@ -96,7 +96,7 @@ struct hentry_s
#define HENTRY_IS_USED(e) ((e).e_n != 0)
#define HENTRY_REMOVE(e) ((e)->e_n = 0, (e)->e_hash = 0)
#define HENTRY_IS_EQUAL(a, b) ((a).e_n == (b).e_n)
#define HALLOC(home, old, newsize) (su_realloc(home, old, newsize))
#define HALLOC(home, old, newsize) (su_realloc(home, old, (isize_t)newsize))
HTABLE2_BODIES2(htable2_t, htable2, ht2_, entry_t, size_t,
HENTRY_HASH, HENTRY_IS_USED, HENTRY_REMOVE, HENTRY_IS_EQUAL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment