- 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

@ -766,11 +766,11 @@ static void* try_dlopen(const char* base, const char* gamedir, const char* fname
}
void *Sys_LoadDll( const char *name, char *fqpath ,
long (**entryPoint)(long, ...),
long (*systemcalls)(long, ...) )
intptr_t (**entryPoint)(int, ...),
intptr_t (*systemcalls)(intptr_t, ...) )
{
void *libHandle;
void (*dllEntry)( long (*syscallptr)(long, ...) );
void (*dllEntry)( intptr_t (*syscallptr)(intptr_t, ...) );
char curpath[MAX_OSPATH];
char fname[MAX_OSPATH];
char *basepath;