From c9d6b2beb19f80e43fec9aa61d80cc8a62233c33 Mon Sep 17 00:00:00 2001 From: ludwig Date: Sat, 18 Feb 2006 19:07:23 +0000 Subject: - 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. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/unix/unix_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'code/unix') diff --git a/code/unix/unix_main.c b/code/unix/unix_main.c index e0afa7a..20a90a0 100644 --- a/code/unix/unix_main.c +++ b/code/unix/unix_main.c @@ -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; -- cgit v1.2.3