mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
* Source/NSKeyValueObserving.m
* Source/NSXMLParser.m char is unsigned on macppc, so don't compare it against negative values OK Richard git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36251 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c487ad9f67
commit
7535869550
3 changed files with 8 additions and 2 deletions
|
@ -329,7 +329,7 @@ static NSString *newKey(SEL _cmd)
|
|||
len -= 4; // allow for 'set' and trailing ':'
|
||||
for (i = 0; i < len; i++)
|
||||
{
|
||||
if (name[i] < 0)
|
||||
if (name[i] & 0x80)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue