mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 02:01:03 +00:00
(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:
parent
26d425b88c
commit
672187ea64
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ int main()
|
|||
// Have them sit at the table
|
||||
for (i = 0;i < 5; ++i)
|
||||
[NSThread detachNewThreadSelector:@selector(sitAtChair:)
|
||||
toTarget:p[i] withObject:i];
|
||||
toTarget:p[i] withObject: (id)i];
|
||||
|
||||
// Now let them all eat
|
||||
for (i = 0;i < 5; ++i)
|
||||
|
|
Loading…
Reference in a new issue