mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
refactor(api): add missing cast #31960
This commit is contained in:
@ -62,7 +62,7 @@ Integer nvim_create_namespace(String name)
|
||||
{
|
||||
handle_T id = map_get(String, int)(&namespace_ids, name);
|
||||
if (id > 0) {
|
||||
return id;
|
||||
return (Integer)id;
|
||||
}
|
||||
id = next_namespace_id++;
|
||||
if (name.size > 0) {
|
||||
|
Reference in New Issue
Block a user