• 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: Too long constant?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Too long constant?


  • Subject: Re: Too long constant?
  • From: Clark Cox <email@hidden>
  • Date: Thu, 16 Dec 2004 16:14:12 -0500

On Thu, 16 Dec 2004 22:06:14 +0100, Jan E. Schotsman <email@hidden> wrote:
> Hello list,
>
> what is wrong with this:
>
> #define         kGL_MaxSignedLong64      ((SInt64)0x7FFFFFFFFFFFFFFF)

To make the warning go away, use:
#define         kGL_MaxSignedLong64  (0x7FFFFFFFFFFFFFFFLL)

Note the two capital "L"s at the end of the constant. This makes a
constant of type (long long).

--
Clark S. Cox III
email@hidden
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Too long constant? (From: "Jan E. Schotsman" <email@hidden>)

  • Prev by Date: Too long constant?
  • Next by Date: Re: Too long constant?
  • Previous by thread: Too long constant?
  • Next by thread: Re: Too long constant?
  • Index(es):
    • Date
    • Thread