aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);