* EOAccess/EOAdaptor.m (-hasOpenChannels): Make safe for

unsigned.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20774 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2005-02-22 12:52:46 +00:00
parent 50f69ed056
commit fc225e878a
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-02-22 David Ayers <d.ayers@inode.at>
* EOAccess/EOAdaptor.m (-hasOpenChannels): Make safe for
unsigned.
2005-02-20 David Ayers <d.ayers@inode.at>
* EOAccess/EOAccessFault.m: Include NSThread.h.

View file

@ -505,10 +505,11 @@ NSString *EOAdministrativeConnectionDictionaryKey
{
unsigned i;
for (i = [_contexts count] - 1; i >= 0; i--)
i = [_contexts count];
while (i--)
{
EOAdaptorContext *ctx = [[_contexts objectAtIndex: i]
nonretainedObjectValue];
EOAdaptorContext *ctx
= [[_contexts objectAtIndex: i] nonretainedObjectValue];
if([ctx hasOpenChannels] == YES)
return YES;