- change long to intptr_t for 64bit windows compatability

- change vmMain arguments back to int. 64bit types are apparently not
  needed there. Only the syscall function needs them.
This commit is contained in:
Ludwig Nussel 2006-02-18 19:07:23 +00:00
parent e129637b5a
commit 4c242115dc
20 changed files with 71 additions and 56 deletions

View file

@ -127,7 +127,7 @@ struct vm_s {
// DO NOT MOVE OR CHANGE THESE WITHOUT CHANGING THE VM_OFFSET_* DEFINES
// USED BY THE ASM CODE
int programStack; // the vm may be recursively entered
long (*systemCall)( long *parms );
intptr_t (*systemCall)( intptr_t *parms );
//------------------------------------
@ -135,7 +135,8 @@ struct vm_s {
// for dynamic linked modules
void *dllHandle;
long (QDECL *entryPoint)( long callNum, ... );
intptr_t (QDECL *entryPoint)( int callNum, ... );
void (*destroy)(vm_t* self);
// for interpreted modules
qboolean currentlyInterpreting;