diff --git a/d3xp/anim/Anim_Import.cpp b/d3xp/anim/Anim_Import.cpp index 80d0571..49dee84 100644 --- a/d3xp/anim/Anim_Import.cpp +++ b/d3xp/anim/Anim_Import.cpp @@ -42,7 +42,7 @@ static idStr Maya_Error; static exporterInterface_t Maya_ConvertModel = NULL; static exporterShutdown_t Maya_Shutdown = NULL; -static int importDLL = 0; +static uintptr_t importDLL = 0; bool idModelExport::initialized = false; diff --git a/game/anim/Anim_Import.cpp b/game/anim/Anim_Import.cpp index cf97f92..6a7bf3b 100644 --- a/game/anim/Anim_Import.cpp +++ b/game/anim/Anim_Import.cpp @@ -42,7 +42,7 @@ static idStr Maya_Error; static exporterInterface_t Maya_ConvertModel = NULL; static exporterShutdown_t Maya_Shutdown = NULL; -static int importDLL = 0; +static uintptr_t importDLL = 0; bool idModelExport::initialized = false; diff --git a/sys/sys_public.h b/sys/sys_public.h index 3df930d..ba5d90f 100644 --- a/sys/sys_public.h +++ b/sys/sys_public.h @@ -331,9 +331,9 @@ const char * Sys_GetCallStackCurAddressStr( int depth ); void Sys_ShutdownSymbols( void ); // DLL loading, the path should be a fully qualified OS path to the DLL file to be loaded -int Sys_DLL_Load( const char *dllName ); -void * Sys_DLL_GetProcAddress( int dllHandle, const char *procName ); -void Sys_DLL_Unload( int dllHandle ); +uintptr_t Sys_DLL_Load( const char *dllName ); +void * Sys_DLL_GetProcAddress( uintptr_t dllHandle, const char *procName ); +void Sys_DLL_Unload( uintptr_t dllHandle ); // event generation void Sys_GenerateEvents( void ); @@ -563,9 +563,9 @@ public: virtual const char * GetCallStackCurStr( int depth ) = 0; virtual void ShutdownSymbols( void ) = 0; - virtual int DLL_Load( const char *dllName ) = 0; - virtual void * DLL_GetProcAddress( int dllHandle, const char *procName ) = 0; - virtual void DLL_Unload( int dllHandle ) = 0; + virtual uintptr_t DLL_Load( const char *dllName ) = 0; + virtual void * DLL_GetProcAddress( uintptr_t dllHandle, const char *procName ) = 0; + virtual void DLL_Unload( uintptr_t dllHandle ) = 0; virtual void DLL_GetFileName( const char *baseName, char *dllName, int maxLength ) = 0; virtual sysEvent_t GenerateMouseButtonEvent( int button, bool down ) = 0;