summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-09-28 16:05:32 +0200
committerAndy Polyakov <appro@openssl.org>2015-09-29 18:05:55 +0200
commitdb40a14ecbb2f65bb3a86505f53db00633347f3b (patch)
tree5f12fa8653d4b198e998b5373bcb9c5f9a361421 /apps
parent156561b0ade98b22df0e3ebc63682e54129c2cb4 (diff)
Fix -Wshadow warnings in mingw builds.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/speed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/speed.c b/apps/speed.c
index 4b53f61a2c..046c0b2614 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -297,9 +297,9 @@ static double Time_F(int s)
schlock = 0;
thr = CreateThread(NULL, 4096, sleepy, NULL, 0, NULL);
if (thr == NULL) {
- DWORD ret = GetLastError();
- BIO_printf(bio_err, "unable to CreateThread (%d)", ret);
- ExitProcess(ret);
+ DWORD err = GetLastError();
+ BIO_printf(bio_err, "unable to CreateThread (%lu)", err);
+ ExitProcess(err);
}
while (!schlock)
Sleep(0); /* scheduler spinlock */