diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-05-12 22:40:19 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-05-12 22:40:19 +0000 |
commit | ba2ba27008146e0ca425d5a45fcccf1c40b74702 (patch) | |
tree | 4ed321a1bcdee4a4fee4f5d35896d9608a41b38f | |
parent | f795123c4a846048ca246dcaff3bae581cc19770 (diff) | |
download | openssl-ba2ba27008146e0ca425d5a45fcccf1c40b74702.tar.gz |
Avoid warnings.
-rw-r--r-- | crypto/dso/dso_dlfcn.c | 2 |
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); |