paragui-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-dev] Compiling paragui on x86_64


From: Camilo Polyméris
Subject: Re: [paragui-dev] Compiling paragui on x86_64
Date: Mon, 16 Aug 2004 15:06:07 -0400
User-agent: KMail/1.6.2

On Saturday 14 August 2004 07:57, Ulf Lorenz wrote:

> >
> > I think the problem is the cast from a pointer to UInt32 and back --while
> > x86_64 bit machines have 64 bit pointers (?).
> > Any idea how to fix this?
>
> A quick fix would be substituting the reinterpret_cast in line 67 by a
> static_cast. This will cause problems when the timer id gets too large,
> but paragui starts to count from 0, so you have quite a lot of timers
> before you get a problem there. :)
>
>
> cu,
> Ulf

thank you.
I found another way. I changed the typedef of PG_TimerID in pgtimerobject.h 
from UInt32 to UInt64. Now it does compile, but I don't now if this could 
cause a bug somewhere.
How does SDL solve this with its SDL_TimerID? I couldn't find the definition.

Dimitri





reply via email to

[Prev in Thread] Current Thread [Next in Thread]