diff options
author | Andy Polyakov <appro@openssl.org> | 2005-06-09 23:41:44 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-06-09 23:41:44 +0200 |
commit | 21ac2b964bafe37eff49c9d96a62af84d9345fd4 (patch) | |
tree | 4adb4a870c807920e60cdaca0db82034d9b09300 /crypto/dso/dso_win32.c | |
parent | Allow for dso load by explicit path on HP-UX. (diff) | |
download | openssl-21ac2b964bafe37eff49c9d96a62af84d9345fd4.tar.xz openssl-21ac2b964bafe37eff49c9d96a62af84d9345fd4.zip |
Eliminate gcc -pedantic warnings.
Diffstat (limited to 'crypto/dso/dso_win32.c')
-rw-r--r-- | crypto/dso/dso_win32.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/dso/dso_win32.c b/crypto/dso/dso_win32.c index 96ccd4b7ee..317606ac5b 100644 --- a/crypto/dso/dso_win32.c +++ b/crypto/dso/dso_win32.c @@ -635,7 +635,12 @@ static int win32_pathbyaddr(void *addr,char *path,int sz) MODULE32 module_first, module_next; int len; - if (addr == NULL) addr = win32_pathbyaddr; + if (addr == NULL) + { + union { int(*f)(void*,char*,int); void *p; } t = + { win32_pathbyaddr }; + addr = t.p; + } dll = LoadLibrary(TEXT(DLLNAME)); if (dll == NULL) |