summaryrefslogtreecommitdiff
path: root/src/unix/unix_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/unix_main.c')
-rw-r--r--src/unix/unix_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unix/unix_main.c b/src/unix/unix_main.c
index 156407e0..6e9ead4a 100644
--- a/src/unix/unix_main.c
+++ b/src/unix/unix_main.c
@@ -767,11 +767,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;