> On Dec 1, 2013, at 11:10 PM, Alex Hall <mehg...@gmail.com> wrote: > > NSUInteger sourceID = > [[(NSDictionary*)sourceNumber objectForKey:@"sourceID"] unsignedIntegerValue];
Again, -unsignedIntValue will return a 32-bit value (int); -unsignedIntegerValue will give you an NSUInteger, which will be 64 bits on 64-bit targets. The method used to construct the NSNumber is irrelevant. The only thing that matters is how you ask for it back. You're asking for a 64-bit value here. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com