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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to