aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-05-12 22:40:19 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-05-12 22:40:19 +0000
commitba2ba27008146e0ca425d5a45fcccf1c40b74702 (patch)
tree4ed321a1bcdee4a4fee4f5d35896d9608a41b38f
parentf795123c4a846048ca246dcaff3bae581cc19770 (diff)
downloadopenssl-ba2ba27008146e0ca425d5a45fcccf1c40b74702.tar.gz
Avoid warnings.
-rw-r--r--crypto/dso/dso_dlfcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c
index 2d7534afac..2b8f3ee4d8 100644
--- a/crypto/dso/dso_dlfcn.c
+++ b/crypto/dso/dso_dlfcn.c
@@ -255,7 +255,7 @@ static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname)
DSOerr(DSO_F_DLFCN_BIND_FUNC,DSO_R_NULL_HANDLE);
return(NULL);
}
- sym = (DSO_FUNC_TYPE)dlsym(ptr, symname);
+ *(void **)(&sym) = dlsym(ptr, symname);
if(sym == NULL)
{
DSOerr(DSO_F_DLFCN_BIND_FUNC,DSO_R_SYM_FAILURE);