diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-06-10 19:28:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 19:28:47 +0200 |
commit | 673b3a780e969132330099c9b6008a766280e384 (patch) | |
tree | cd6b0dbad292dcbfaae637ffad385298594a2ff2 /src/nvim/lua/stdlib.c | |
parent | e15d31b530c443daea04d7a772b24da737397c53 (diff) | |
parent | a732c253b71f89702285d5ec6fd7803045f6add9 (diff) | |
download | rneovim-673b3a780e969132330099c9b6008a766280e384.tar.gz rneovim-673b3a780e969132330099c9b6008a766280e384.tar.bz2 rneovim-673b3a780e969132330099c9b6008a766280e384.zip |
Merge pull request #18461 from dundargoc/refactor/change-linenr-to-int32
refactor: change type of linenr_T from long to int32_t
Diffstat (limited to 'src/nvim/lua/stdlib.c')
-rw-r--r-- | src/nvim/lua/stdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/stdlib.c b/src/nvim/lua/stdlib.c index 432cb25adc..b911eb8b59 100644 --- a/src/nvim/lua/stdlib.c +++ b/src/nvim/lua/stdlib.c @@ -89,7 +89,7 @@ static int regex_match_line(lua_State *lstate) } long bufnr = luaL_checkinteger(lstate, 2); - long rownr = luaL_checkinteger(lstate, 3); + linenr_T rownr = (linenr_T)luaL_checkinteger(lstate, 3); long start = 0, end = -1; if (narg >= 4) { start = luaL_checkinteger(lstate, 4); |