From db40a14ecbb2f65bb3a86505f53db00633347f3b Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 28 Sep 2015 16:05:32 +0200 Subject: Fix -Wshadow warnings in mingw builds. Reviewed-by: Rich Salz --- crypto/rand/rand_win.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/rand/rand_win.c') 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(); -- cgit v1.2.3