mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
refactor: remove long
long is 32-bits even on 64-bit windows which makes the type suboptimal for a codebase meant to be cross-platform.
This commit is contained in:
@@ -324,7 +324,7 @@ bool undo_allowed(buf_T *buf)
|
||||
}
|
||||
|
||||
/// Get the 'undolevels' value for the current buffer.
|
||||
static long get_undolevel(buf_T *buf)
|
||||
static OptInt get_undolevel(buf_T *buf)
|
||||
{
|
||||
if (buf->b_p_ul == NO_LOCAL_UNDOLEVEL) {
|
||||
return p_ul;
|
||||
|
Reference in New Issue
Block a user