Re: Too long constant?
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