diff options
author | dundargoc <gocdundar@gmail.com> | 2023-09-29 14:58:48 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-10-03 22:02:55 +0200 |
commit | e72b546354cd90bf0cd8ee6dd045538d713009ad (patch) | |
tree | 680a28f2e9ca4ab5a3221afbffff4d64cfdef842 /src/nvim/cursor_shape.c | |
parent | 70ec8d60e0dc71c5ca06fdd83698c82b16ea474f (diff) | |
download | rneovim-e72b546354cd90bf0cd8ee6dd045538d713009ad.tar.gz rneovim-e72b546354cd90bf0cd8ee6dd045538d713009ad.tar.bz2 rneovim-e72b546354cd90bf0cd8ee6dd045538d713009ad.zip |
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.
Diffstat (limited to 'src/nvim/cursor_shape.c')
-rw-r--r-- | src/nvim/cursor_shape.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/cursor_shape.c b/src/nvim/cursor_shape.c index fb2ca9ff8c..ba5f30c20f 100644 --- a/src/nvim/cursor_shape.c +++ b/src/nvim/cursor_shape.c @@ -364,9 +364,9 @@ static void clear_shape_table(void) { for (int idx = 0; idx < SHAPE_IDX_COUNT; idx++) { shape_table[idx].shape = SHAPE_BLOCK; - shape_table[idx].blinkwait = 0L; - shape_table[idx].blinkon = 0L; - shape_table[idx].blinkoff = 0L; + shape_table[idx].blinkwait = 0; + shape_table[idx].blinkon = 0; + shape_table[idx].blinkoff = 0; shape_table[idx].id = 0; shape_table[idx].id_lm = 0; } |