[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSNotFound is too small on 64bit systems
From: |
Chris Emery |
Subject: |
NSNotFound is too small on 64bit systems |
Date: |
Wed, 14 Dec 2011 11:58:55 +0000 |
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.
-Chris
- NSNotFound is too small on 64bit systems,
Chris Emery <=