From a377ebff760e3c5f2ff5a956ff2337bb25b1d11a Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 7 Jan 2015 13:44:55 +0000 Subject: [PATCH] some fixes. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4820 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/sys_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/sys_linux.c b/engine/client/sys_linux.c index 45c6693c2..740e08dea 100644 --- a/engine/client/sys_linux.c +++ b/engine/client/sys_linux.c @@ -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)