commit 58357912bcc60d475c6d68b84e922f6850850c17
parent 13e28fdecc9c46db210afabb686a2ae9da2ce401
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sat, 8 Feb 2020 19:58:30 +0530
Fix build break
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -4236,7 +4236,7 @@ static blkcnt_t dirwalk(char *path, struct stat *psb)
}
/* 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'));
}