From 984d008106b2d950a6f16ce84a5c0a0ef96d3f93 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Mon, 22 Jun 2020 08:22:36 +0200 Subject: [PATCH] tests: avoid use of deprecated function _sleep (#490) --- tests/openssh_fixture.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/openssh_fixture.c b/tests/openssh_fixture.c index 7112903..248a561 100644 --- a/tests/openssh_fixture.c +++ b/tests/openssh_fixture.c @@ -187,10 +187,7 @@ static int ip_address_from_container(char *container_id, char **ip_address_out) } else { #ifdef WIN32 -#pragma warning(push) -#pragma warning(disable : 4996) - _sleep(wait_time); -#pragma warning(pop) + Sleep(wait_time); #else sleep(wait_time); #endif