diff options
Diffstat (limited to 'src/nvim/lua/spell.c')
-rw-r--r-- | src/nvim/lua/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/spell.c b/src/nvim/lua/spell.c index 04304719d0..8f80744ac8 100644 --- a/src/nvim/lua/spell.c +++ b/src/nvim/lua/spell.c @@ -80,7 +80,7 @@ int nlua_spell_check(lua_State *lstate) lua_rawseti(lstate, -2, 2); // +1 for 1-indexing - lua_pushinteger(lstate, (long)pos + 1); + lua_pushinteger(lstate, (lua_Integer)pos + 1); lua_rawseti(lstate, -2, 3); lua_rawseti(lstate, -2, ++no_res); |