mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 09:56:31 +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:
@@ -44,9 +44,9 @@ typedef struct cursor_entry {
|
||||
CursorShape shape; ///< cursor shape: one of the SHAPE_ defines
|
||||
int mshape; ///< mouse shape: one of the MSHAPE defines
|
||||
int percentage; ///< percentage of cell for bar
|
||||
long blinkwait; ///< blinking, wait time before blinking starts
|
||||
long blinkon; ///< blinking, on time
|
||||
long blinkoff; ///< blinking, off time
|
||||
int blinkwait; ///< blinking, wait time before blinking starts
|
||||
int blinkon; ///< blinking, on time
|
||||
int blinkoff; ///< blinking, off time
|
||||
int id; ///< highlight group ID
|
||||
int id_lm; ///< highlight group ID for :lmap mode
|
||||
char *name; ///< mode short name
|
||||
|
Reference in New Issue
Block a user