mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +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:
@@ -832,7 +832,7 @@ EXTERN char no_lines_msg[] INIT(= N_("--No lines in buffer--"));
|
||||
// When ":global" is used to number of substitutions and changed lines is
|
||||
// accumulated until it's finished.
|
||||
// Also used for ":spellrepall".
|
||||
EXTERN long sub_nsubs; // total number of substitutions
|
||||
EXTERN int sub_nsubs; // total number of substitutions
|
||||
EXTERN linenr_T sub_nlines; // total number of lines changed
|
||||
|
||||
// table to store parsed 'wildmode'
|
||||
|
Reference in New Issue
Block a user