(main): Cast (int) to (id) in detachNewThread.. call.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@917 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-02-13 16:08:12 +00:00
parent 26d425b88c
commit 672187ea64

View file

@ -134,7 +134,7 @@ int main()
// Have them sit at the table // Have them sit at the table
for (i = 0;i < 5; ++i) for (i = 0;i < 5; ++i)
[NSThread detachNewThreadSelector:@selector(sitAtChair:) [NSThread detachNewThreadSelector:@selector(sitAtChair:)
toTarget:p[i] withObject:i]; toTarget:p[i] withObject: (id)i];
// Now let them all eat // Now let them all eat
for (i = 0;i < 5; ++i) for (i = 0;i < 5; ++i)