• 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: sizeof short int
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sizeof short int


  • Subject: Re: sizeof short int
  • From: Gregory Weston <email@hidden>
  • Date: Sun, 17 Sep 2006 07:38:23 -0400

Huibert Aalbers wrote:

just a quick simple question. Is short int guaranteed to be 2 bytes
long on Mac OS X? Will that change with leopard (64 bits)?

If you need a guaranteed 16 bit number, specify a 16 bit number.

int16_t, and uint16_t if you need unsigned, are your friends.

Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Cocoa-dev Digest, Vol 3, Issue 1144
  • Next by Date: Newbie: Problem with second nib.
  • Previous by thread: Re: sizeof short int
  • Next by thread: Re: sizeof short int
  • Index(es):
    • Date
    • Thread