mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +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
a449b8c087
commit
04b310b334
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…
Add table
Add a link
Reference in a new issue