mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
(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
This commit is contained in:
parent
69623bfb42
commit
d7e6779a18
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue