mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 14:26:07 +00:00
refactor: remove redundant char casts #15888
This commit is contained in:
@@ -134,7 +134,7 @@ bool os_isdir(const char_u *name)
|
||||
bool os_isdir_executable(const char *name)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
int32_t mode = os_getperm((const char *)name);
|
||||
int32_t mode = os_getperm(name);
|
||||
if (mode < 0) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user