bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNotFound is too small on 64bit systems


From: Richard Frith-Macdonald
Subject: Re: NSNotFound is too small on 64bit systems
Date: Thu, 15 Dec 2011 09:10:44 +0000

On 14 Dec 2011, at 11:58, Chris Emery wrote:

> In NSObject.h, NSNotFound is 0x7ffffff. On 64 bit this seems a little wrong 
> since in, for instance NSMutableIndexSet this means you cannot insert larger 
> NSInteger values . Apple uses NSIntegerMax instead which seems more 
> appropriate.

Thanks ... I made that change (and moved the define from NSObject.h to 
NSObjCRuntime.h for OSX compatibility).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]