From acc646ad8fc3ef11fcc63b69f3d8484e4a91accd Mon Sep 17 00:00:00 2001 From: dundargoc Date: Fri, 29 Sep 2023 14:58:48 +0200 Subject: refactor: the long goodbye long is 32 bits on windows, while it is 64 bits on other architectures. This makes the type suboptimal for a codebase meant to be cross-platform. Replace it with more appropriate integer types. --- src/nvim/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/message.c') diff --git a/src/nvim/message.c b/src/nvim/message.c index 3b33559906..2c8c2eb52d 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -3719,7 +3719,7 @@ void msg_check_for_delay(bool check_msg_scroll) && emsg_silent == 0 && !in_assert_fails) { ui_flush(); - os_delay(1006L, true); + os_delay(1006, true); emsg_on_display = false; if (check_msg_scroll) { msg_scroll = false; -- cgit