diff options
author | Andy Polyakov <appro@openssl.org> | 2015-09-28 16:05:32 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-09-29 18:05:55 +0200 |
commit | db40a14ecbb2f65bb3a86505f53db00633347f3b (patch) | |
tree | 5f12fa8653d4b198e998b5373bcb9c5f9a361421 /crypto/rand/rand_win.c | |
parent | 156561b0ade98b22df0e3ebc63682e54129c2cb4 (diff) | |
download | openssl-db40a14ecbb2f65bb3a86505f53db00633347f3b.tar.gz |
Fix -Wshadow warnings in mingw builds.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/rand/rand_win.c')
-rw-r--r-- | crypto/rand/rand_win.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index e926429e7f..a91014bad3 100644 --- a/crypto/rand/rand_win.c +++ b/crypto/rand/rand_win.c @@ -196,7 +196,7 @@ typedef NET_API_STATUS(NET_API_FUNCTION *NETFREE) (LPBYTE); int RAND_poll(void) { - MEMORYSTATUS m; + MEMORYSTATUS mst; HCRYPTPROV hProvider = 0; DWORD w; int good = 0; @@ -558,8 +558,8 @@ int RAND_poll(void) readtimer(); /* memory usage statistics */ - GlobalMemoryStatus(&m); - RAND_add(&m, sizeof(m), 1); + GlobalMemoryStatus(&mst); + RAND_add(&mst, sizeof(mst), 1); /* process ID */ w = GetCurrentProcessId(); |