diff options
author | dundargoc <gocdundar@gmail.com> | 2023-09-26 22:36:08 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-09-29 14:56:34 +0200 |
commit | af7d317f3ff31d5ac5d8724b5057a422e1451b54 (patch) | |
tree | c05c26591b00105d03684cb3179da935d104a964 /src/nvim/getchar.c | |
parent | 9afbfb4d646cd240e97dbaae109f12bfc853112c (diff) | |
download | rneovim-af7d317f3ff31d5ac5d8724b5057a422e1451b54.tar.gz rneovim-af7d317f3ff31d5ac5d8724b5057a422e1451b54.tar.bz2 rneovim-af7d317f3ff31d5ac5d8724b5057a422e1451b54.zip |
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.
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 779ba0f90d..76aa012d2d 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -2695,9 +2695,9 @@ static int vgetorpeek(bool advance) // blocking wait wait_time = -1L; } else if (keylen == KEYLEN_PART_KEY && p_ttm >= 0) { - wait_time = p_ttm; + wait_time = (long)p_ttm; } else { - wait_time = p_tm; + wait_time = (long)p_tm; } } |