aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-10-01 18:59:43 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-10-01 18:59:43 +0530
commitd62ce4bb5e8d3e6641b03862caabbbdc69a4c698 (patch)
treea77a9338fa9fb3efd50e749a0ab50ab35ec02e90
parentc66c941a978cb849ccb6aafc69832b2d97509e0f (diff)
downloadnnn-d62ce4bb5e8d3e6641b03862caabbbdc69a4c698.tar.gz
Remove redundant conversion
-rw-r--r--nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nnn.c b/nnn.c
index c4289d2..cbb2804 100644
--- a/nnn.c
+++ b/nnn.c
@@ -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);