mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
some fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4820 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8e4e1fb061
commit
a377ebff76
1 changed files with 2 additions and 2 deletions
|
@ -552,7 +552,7 @@ void *Sys_GetAddressForName(dllhandle_t *module, const char *exportname)
|
|||
{
|
||||
if (!module)
|
||||
return NULL;
|
||||
return lt_dlsym(module, exportname);
|
||||
return lt_dlsym((void*)module, exportname);
|
||||
}
|
||||
#else
|
||||
void Sys_CloseLibrary(dllhandle_t *lib)
|
||||
|
@ -563,7 +563,7 @@ void Sys_CloseLibrary(dllhandle_t *lib)
|
|||
dllhandle_t *Sys_LoadLibrary(const char *name, dllfunction_t *funcs)
|
||||
{
|
||||
int i;
|
||||
dllhandle_t lib;
|
||||
dllhandle_t *lib;
|
||||
|
||||
lib = NULL;
|
||||
if (!lib)
|
||||
|
|
Loading…
Reference in a new issue