aboutsummaryrefslogtreecommitdiff
path: root/applets/applet_tables.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-04-14 19:12:43 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-04-14 19:12:43 +0200
commit1a45b2ccea94b0fc123798f276a0801413597880 (patch)
tree3368e80011c915cc19d3a83463fd9c0f7c9c6180 /applets/applet_tables.c
parenteb1b2902b8b7b7effdba711645288c64884fd3e7 (diff)
downloadbusybox-w32-1a45b2ccea94b0fc123798f276a0801413597880.tar.gz
busybox-w32-1a45b2ccea94b0fc123798f276a0801413597880.tar.bz2
busybox-w32-1a45b2ccea94b0fc123798f276a0801413597880.zip
fix "warning array subscript has type 'char'"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'applets/applet_tables.c')
-rw-r--r--applets/applet_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/applet_tables.c b/applets/applet_tables.c
index 7ba929b12..66ef7e4ac 100644
--- a/applets/applet_tables.c
+++ b/applets/applet_tables.c
@@ -56,7 +56,7 @@ static int cmp_name(const void *a, const void *b)
56static int str_isalnum_(const char *s) 56static int str_isalnum_(const char *s)
57{ 57{
58 while (*s) { 58 while (*s) {
59 if (!isalnum(*s) && *s != '_') 59 if (!isalnum((unsigned char)*s) && *s != '_')
60 return 0; 60 return 0;
61 s++; 61 s++;
62 } 62 }