• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: uint64_t and NSNumber
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >uint64_t and NSNumber (From: Adam Thorsen <email@hidden>)

  • Prev by Date: uint64_t and NSNumber
  • Next by Date: Re: Garbage collector vs variable lifetime
  • Previous by thread: uint64_t and NSNumber
  • Next by thread: applications list on Multi monitor
  • Index(es):
    • Date
    • Thread