aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-08 19:58:30 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-08 19:58:30 +0530
commit58357912bcc60d475c6d68b84e922f6850850c17 (patch)
tree32092563c3369f08f3cfd859415e13c2ae1c85dd /src
parent13e28fdecc9c46db210afabb686a2ae9da2ce401 (diff)
downloadnnn-58357912bcc60d475c6d68b84e922f6850850c17.tar.gz
Fix build break
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 0980e44..ee162e2 100644
--- 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'));
}