From 4b6c5cbb922745a639d0e661a7750ff7f38f5747 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Thu, 1 Nov 2012 09:38:21 +0100 Subject: [PATCH] Warning removal. --- tommyhashdyn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tommyhashdyn.c b/tommyhashdyn.c index 3e6bee06..0b96ef5d 100644 --- a/tommyhashdyn.c +++ b/tommyhashdyn.c @@ -69,7 +69,7 @@ static void tommy_hashdyn_resize(tommy_hashdyn* hashdyn, unsigned new_bucket_bit new_bucket = tommy_cast(tommy_hashdyn_node**, tommy_malloc(new_bucket_max * sizeof(tommy_hashdyn_node*))); /* reinsert all the elements */ - if (new_bucket_bit > hashdyn->bucket_bit) { + if (new_bucket_bit > bucket_bit) { unsigned i; /* grow */