mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +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:
@@ -39,7 +39,7 @@ typedef struct oparg_S {
|
||||
pos_T end; // end of the operator
|
||||
pos_T cursor_start; // cursor position before motion for "gw"
|
||||
|
||||
long line_count; // number of lines from op_start to op_end
|
||||
linenr_T line_count; // number of lines from op_start to op_end
|
||||
// (inclusive)
|
||||
bool empty; // op_start and op_end the same (only used by
|
||||
// op_change())
|
||||
|
Reference in New Issue
Block a user