mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix build break
This commit is contained in:
parent
13e28fdecc
commit
58357912bc
|
@ -4236,7 +4236,7 @@ static blkcnt_t dirwalk(char *path, struct stat *psb)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Skip self and parent */
|
/* Skip self and parent */
|
||||||
static bool selforparent(char *path)
|
static bool selforparent(const char *path)
|
||||||
{
|
{
|
||||||
return path[0] == '.' && (path[1] == '\0' || (path[1] == '.' && path[2] == '\0'));
|
return path[0] == '.' && (path[1] == '\0' || (path[1] == '.' && path[2] == '\0'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue