mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +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:
@@ -112,7 +112,7 @@ local value_dumpers = {
|
||||
string=cstr,
|
||||
boolean=function(v) return v and 'true' or 'false' end,
|
||||
number=function(v) return ('%iL'):format(v) end,
|
||||
['nil']=function(_) return '0L' end,
|
||||
['nil']=function(_) return '0' end,
|
||||
}
|
||||
|
||||
local get_value = function(v)
|
||||
|
Reference in New Issue
Block a user