aboutsummaryrefslogtreecommitdiffstats
path: root/code/win32/win_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/win32/win_main.c')
-rw-r--r--code/win32/win_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/win32/win_main.c b/code/win32/win_main.c
index a66f712..6980bd4 100644
--- a/code/win32/win_main.c
+++ b/code/win32/win_main.c
@@ -606,8 +606,8 @@ void * QDECL Sys_LoadDll( const char *name, char *fqpath , long (QDECL **entryPo
}
#endif
- dllEntry = ( void (QDECL *)( int (QDECL *)( int, ... ) ) )GetProcAddress( libHandle, "dllEntry" );
- *entryPoint = (int (QDECL *)(int,...))GetProcAddress( libHandle, "vmMain" );
+ dllEntry = ( void (QDECL *)(long (QDECL *)( long, ... ) ) )GetProcAddress( libHandle, "dllEntry" );
+ *entryPoint = (long (QDECL *)(long,...))GetProcAddress( libHandle, "vmMain" );
if ( !*entryPoint || !dllEntry ) {
FreeLibrary( libHandle );
return NULL;