Remove redundant conversion

This commit is contained in:
Arun Prakash Jana 2017-10-01 18:59:43 +05:30
parent c66c941a97
commit d62ce4bb5e
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

2
nnn.c
View File

@ -2831,7 +2831,7 @@ main(int argc, char *argv[])
cfg.filtermode = 1;
break;
case 'c':
if ((uchar)atoi(optarg) > 7)
if (atoi(optarg) > 7)
cfg.showcolor = 0;
else
cfg.color = (uchar)atoi(optarg);