mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user