]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix #550
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 3 May 2020 22:55:26 +0000 (04:25 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 3 May 2020 22:55:26 +0000 (04:25 +0530)
src/nnn.c

index 73ddee6c5c1cee87093635aca2f8e8d2262d5dbc..6c46db0010c9b089deb8d24218e30c3d8f298fcd 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2141,7 +2141,7 @@ static int xstrverscasecmp(const char * const s1, const char * const s2)
                state += (c1 == '0') + (xisdigit(c1) != 0);
        }
 
-       state = (uchar)result_type[state * 3 + (((c2 == '0') + (xisdigit(c2) != 0)))];
+       state = result_type[state * 3 + (((c2 == '0') + (xisdigit(c2) != 0)))]; // NOLINT
 
        switch (state) {
        case VCMP: