On 05-Jan-10 23:44, Oohara Yuuma wrote:
> On Wed, 29 Dec 2004 14:57:35 +0100,
> Andreas Jochens <[EMAIL PROTECTED]> wrote:
> > With the attached patch 'mpatrol' can be compiled
> > on amd64 using gcc-4.0.
> On my system (i386), the type "Cardinal" is defined as "unsigned int"

It is also defined as 'unsigned int' on amd64.

> in /usr/include/X11/Intrinsic.h .  I'm not sure replacing "Cardinal"
> with "long" is really safe.

I am not sure either. However, on amd64 and ppc64 an 'unsigned int' is 32 bit 
and a pointer is 64 bit. So to store a pointer in an unsigned int
is definitely wrong and may lead to all kinds of problems which can 
be difficult to debug.

Regards
Andreas Jochens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to