mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Tweak return value to definitely be YES or NO rather than true/false
This commit is contained in:
parent
437df42b87
commit
efb4ec5f22
1 changed files with 1 additions and 1 deletions
|
@ -3030,7 +3030,7 @@ NSAssert(pos + 4 < _length, NSInvalidArgumentException);
|
|||
}
|
||||
val = (index == 0) ? UINTPTR_MAX : (uintptr_t)(void*)index;
|
||||
// NSHashInsertIfAbsent() returns NULL on success
|
||||
return NO == NSHashInsertIfAbsent(_stack, (void*)val);
|
||||
return (NULL == NSHashInsertIfAbsent(_stack, (void*)val) ? YES : NO);
|
||||
}
|
||||
|
||||
- (void)_popObject: (NSUInteger)index
|
||||
|
|
Loading…
Reference in a new issue