From 04b310b3349149d77c7bd64ce983c8a5d5541ccf Mon Sep 17 00:00:00 2001 From: mccallum Date: Thu, 31 Oct 1996 20:51:42 +0000 Subject: [PATCH] (main): Avoid adding 0 to the hashtable, because that is currently the o_hash_not_an_element_marker. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1921 72102866-910b-0410-8b05-ffd578937521 --- Testing/nshashtable.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Testing/nshashtable.m b/Testing/nshashtable.m index ad806db5d..bd8872f97 100644 --- a/Testing/nshashtable.m +++ b/Testing/nshashtable.m @@ -13,7 +13,7 @@ int main () ht = NSCreateHashTable (NSIntHashCallBacks, 0); - for (i = 0; i < 16; i++) + for (i = 1; i < 16; i++) NSHashInsert (ht, (void*)i); NSHashRemove (ht, (void*)3);