mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
refactor: remove long
long is 32-bits even on 64-bit windows which makes the type suboptimal for a codebase meant to be cross-platform.
This commit is contained in:
@@ -461,7 +461,7 @@ static void compose_debug(Integer startrow, Integer endrow, Integer startcol, In
|
||||
static void debug_delay(Integer lines)
|
||||
{
|
||||
ui_call_flush();
|
||||
uint64_t wd = (uint64_t)labs(p_wd);
|
||||
uint64_t wd = (uint64_t)llabs(p_wd);
|
||||
uint64_t factor = (uint64_t)MAX(MIN(lines, 5), 1);
|
||||
os_sleep(factor * wd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user