Added SilcStack support for memory allocation.
[silc.git] / lib / silcutil / tests / test_silchashtable.c
index 622fc4536647868c726adb791e0799f938224734..a09727b3cee0a6e58939331de00bd7390d3f33c8 100644 (file)
@@ -120,7 +120,7 @@ SilcBool alloc_table()
   SILC_LOG_DEBUG(("Allocating hash table with %d entries (%s)",
                  count, auto_rehash ? "auto rehash" : "no auto rehash"));
 
-  t = silc_hash_table_alloc(0, hash_entry, NULL,
+  t = silc_hash_table_alloc(NULL, 0, hash_entry, NULL,
                            hash_compare, NULL,
                            hash_destructor, NULL, auto_rehash);