mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +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);
|
handle_T id = map_get(String, int)(&namespace_ids, name);
|
||||||
if (id > 0) {
|
if (id > 0) {
|
||||||
return id;
|
return (Integer)id;
|
||||||
}
|
}
|
||||||
id = next_namespace_id++;
|
id = next_namespace_id++;
|
||||||
if (name.size > 0) {
|
if (name.size > 0) {
|
||||||
|
Reference in New Issue
Block a user