From: Arun Prakash Jana Date: Sat, 8 Feb 2020 14:28:30 +0000 (+0530) Subject: Fix build break X-Git-Tag: v3.0~7 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=58357912bcc60d475c6d68b84e922f6850850c17;p=nnn.git Fix build break --- diff --git a/src/nnn.c b/src/nnn.c index 0980e445..ee162e29 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')); }