[quake3] third win64 patch
James Lacey
jamlacey at gmail.com
Sat Mar 25 12:59:09 EST 2006
Actually, the key difference on this line is that vmMain returns a
long instead of an intptr_t. sizeof(long) != sizeof(intptr_t) for
Win64. Returning a 64-bit integer from this function on Win64 screws
things up. As for the int vs. long, you are right. I just had long in
my code. You can keep it int if you want. Whatever.
James
On 3/25/06, Ludwig Nussel <ludwig.nussel at suse.de> wrote:
> > */
> > -intptr_t vmMain( int command, int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11 ) {
> > +long vmMain( long command, long arg0, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6, long arg7, long arg8, long arg9, long arg10, long arg11 ) {
>
> int an long are of the same size on Windows so I doubt that this and
> the other changes to the vm interface are required.
>
> cu
> Ludwig
>
> --
> (o_ Ludwig Nussel
> //\ SUSE LINUX Products GmbH, Development
> V_/_ http://www.suse.de/
>
>
>
More information about the quake3
mailing list