mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22: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:
@@ -2208,7 +2208,7 @@ handle_T cmdpreview_get_bufnr(void)
|
||||
return cmdpreview_bufnr;
|
||||
}
|
||||
|
||||
long cmdpreview_get_ns(void)
|
||||
int cmdpreview_get_ns(void)
|
||||
{
|
||||
return cmdpreview_ns;
|
||||
}
|
||||
|
Reference in New Issue
Block a user