projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Eliminate gcc -pedantic warnings.
[openssl.git]
/
crypto
/
dso
/
dso_dl.c
diff --git
a/crypto/dso/dso_dl.c
b/crypto/dso/dso_dl.c
index 4d599246c81c6c733c8be8b49359534b71b20846..dccb8e7ee83a4d678a7eab88e97cd4b9844deeee 100644
(file)
--- 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++)
{