From da05c7ed1aea95ff7822c534e9cc439472422ec0 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 22 Feb 2021 09:00:30 +0200 Subject: [PATCH] ci: fix a deprecation time.sleep warning in `clipboard` --- vlib/clipboard/clipboard_windows.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/clipboard/clipboard_windows.c.v b/vlib/clipboard/clipboard_windows.c.v index 6e06e00df5..bc43507cac 100644 --- a/vlib/clipboard/clipboard_windows.c.v +++ b/vlib/clipboard/clipboard_windows.c.v @@ -73,7 +73,7 @@ fn (cb &Clipboard) get_clipboard_lock() bool { } else if last_error != u32(C.ERROR_ACCESS_DENIED) { return false } - time.sleep(cb.retry_delay) + time.wait(cb.retry_delay * time.second) } C.SetLastError(last_error) return false