Minor fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16372 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2003-04-06 07:14:50 +00:00
parent 360506a029
commit f06c0dea4f
2 changed files with 9 additions and 3 deletions

View file

@ -725,7 +725,8 @@ static NSDate *theFuture;
forMode: (NSString*)mode
{
NSRunLoop *loop = [NSRunLoop currentRunLoop];
unsigned c;
unsigned int i;
unsigned int c;
char dummy;
read(inputFd, &dummy, 1);
@ -733,9 +734,9 @@ static NSDate *theFuture;
[subthreadsLock lock];
c = [perfArray count];
while (c-- > 0)
for (i = 0; i < c; i++)
{
GSPerformHolder *h = [perfArray objectAtIndex: c];
GSPerformHolder *h = [perfArray objectAtIndex: i];
[loop performSelector: @selector(fire)
target: h