Re: GCC 4.0 GetKeys() and BigEndianLong for Intel
Re: GCC 4.0 GetKeys() and BigEndianLong for Intel
- Subject: Re: GCC 4.0 GetKeys() and BigEndianLong for Intel
- From: Ken Baer <email@hidden>
- Date: Wed, 15 Jun 2005 14:15:38 -0700
Thanks, that did the trick.
On Jun 15, 2005, at 1:34 PM, Eric Albert wrote:
On Jun 15, 2005, at 12:01 PM, Ken Baer wrote:
Sorry I wasn't clear enough there. BigEndianLong is a long on
PowerPC and a struct on Intel. Here's the Intel definition, from
Endian.h:
struct BigEndianLong {
long bigEndianValue;
};
typedef struct BigEndianLong BigEndianLong;
So you want to swap theKeys[1].bigEndianValue on little-endian
systems, not theKeys[1].
-Eric
_______________________________________________
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