mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
a732c253b7
The size of long varies depending on architecture, in contrast to the MAXLNUM constant which sets the maximum allowable number of lines to 2^32-1. This discrepancy may lead to hard to detect bugs, for example https://github.com/neovim/neovim/issues/18454. Setting linenr_T to a fix maximum size of 2^32-1 will prevent this type of errors in the future. Also change the variables `amount` and `amount_after` to be linenr_T since they're referring to "the line number difference" between two texts. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
config.h.in | ||
pathdef.c.in | ||
versiondef.h.in |