Re: uint64_t and NSNumber
Re: uint64_t and NSNumber
- Subject: Re: uint64_t and NSNumber
- From: Andrew Farmer <email@hidden>
- Date: Sun, 8 Jun 2008 20:46:41 -0700
On 08 Jun 08, at 20:40, Adam Thorsen wrote:
I'm trying to store a uint64_t in an NSNumber object, but when I try
to retrieve the value of the object, I get 0.
- (void)updateLastEventId:(uint64_t *) eventId
{
printf("eventId %llu \n", eventId);
This should throw a compiler warning. (If it doesn't, you have
warnings turned off. Turn them back on.) Understand the warning and
you'll understand what you're neglecting to do here.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden