commit | 1a45b2ccea94b0fc123798f276a0801413597880 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Apr 14 19:12:43 2021 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Apr 14 19:12:43 2021 +0200 |
tree | 3368e80011c915cc19d3a83463fd9c0f7c9c6180 | |
parent | eb1b2902b8b7b7effdba711645288c64884fd3e7 [diff] [blame] |
fix "warning array subscript has type 'char'" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/applets/applet_tables.c b/applets/applet_tables.c index 7ba929b..66ef7e4 100644 --- a/applets/applet_tables.c +++ b/applets/applet_tables.c
@@ -56,7 +56,7 @@ static int str_isalnum_(const char *s) { while (*s) { - if (!isalnum(*s) && *s != '_') + if (!isalnum((unsigned char)*s) && *s != '_') return 0; s++; }