From: Arun Prakash Jana Date: Sun, 3 May 2020 22:55:26 +0000 (+0530) Subject: Fix #550 X-Git-Tag: v3.2~72 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f2fd92357384a79e31177fbd3d8c272c865b5302;p=nnn.git Fix #550 --- diff --git a/src/nnn.c b/src/nnn.c index 73ddee6c..6c46db00 100644 --- 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: