mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 12:55:44 +00:00
* 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:
parent
50f69ed056
commit
fc225e878a
2 changed files with 9 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue