Fix NSNotFound definition to use NSInteger type #494

This commit is contained in:
Frederik Seiffert 2025-03-17 15:39:55 +01:00 committed by Hugo Melder
parent 936e155beb
commit 99c59b9d70

View file

@ -292,7 +292,7 @@ typedef NS_ENUM(NSInteger, NSComparisonResult)
NSOrderedAscending = (NSInteger)-1, NSOrderedSame, NSOrderedDescending
};
enum {NSNotFound = NSIntegerMax};
static const NSInteger NSNotFound = NSIntegerMax;
DEFINE_BLOCK_TYPE(NSComparator, NSComparisonResult, id, id);