diff --git a/src/libs/3rdparty/net7ssh/src/ne7ssh_types.h b/src/libs/3rdparty/net7ssh/src/ne7ssh_types.h
index be7775ab74a1b015b241f163ffbab6850013d1c9..68af80c004716baf5af8efe520515fc52a1c593d 100644
--- a/src/libs/3rdparty/net7ssh/src/ne7ssh_types.h
+++ b/src/libs/3rdparty/net7ssh/src/ne7ssh_types.h
@@ -88,7 +88,7 @@ typedef uint8_t Byte;
 #endif
 
 #if defined(WIN32) || defined(__MINGW32__)
-#  define usleep(time) Sleep(time)
+#  define usleep(time) Sleep(time / 1000)
 #endif
 
 #endif