diff options
author | Andy Polyakov <appro@openssl.org> | 2005-06-09 21:41:44 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-06-09 21:41:44 +0000 |
commit | 21ac2b964bafe37eff49c9d96a62af84d9345fd4 (patch) | |
tree | 4adb4a870c807920e60cdaca0db82034d9b09300 /crypto/dso/dso_dl.c | |
parent | 79e1dd65ab0e0e852174a45f93ce7dbefae43f09 (diff) | |
download | openssl-21ac2b964bafe37eff49c9d96a62af84d9345fd4.tar.gz |
Eliminate gcc -pedantic warnings.
Diffstat (limited to 'crypto/dso/dso_dl.c')
-rw-r--r-- | crypto/dso/dso_dl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/dso/dso_dl.c b/crypto/dso/dso_dl.c index 4d599246c8..dccb8e7ee8 100644 --- a/crypto/dso/dso_dl.c +++ b/crypto/dso/dso_dl.c @@ -357,7 +357,12 @@ static int dl_pathbyaddr(void *addr,char *path,int sz) struct shl_descriptor inf; int i,len; - if (addr == NULL) addr = dl_pathbyaddr; + if (addr == NULL) + { + union { int(*f)(void*,char*,int); void *p; } t = + { dl_pathbyaddr }; + addr = t.p; + } for (i=-1;shl_get_r(i,&inf)==0;i++) { |