diff options
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c index ff29974b6..096b40251 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -2614,10 +2614,10 @@ int parse_stream(o_string *dest, struct p_context *ctx, | |||
2614 | return 0; | 2614 | return 0; |
2615 | } | 2615 | } |
2616 | 2616 | ||
2617 | static void mapset(const unsigned char *set, int code) | 2617 | static void mapset(const char *set, int code) |
2618 | { | 2618 | { |
2619 | const unsigned char *s; | 2619 | const char *s; |
2620 | for (s=set; *s; s++) map[*s] = code; | 2620 | for (s=set; *s; s++) map[(int)*s] = code; |
2621 | } | 2621 | } |
2622 | 2622 | ||
2623 | static void update_ifs_map(void) | 2623 | static void update_ifs_map(void) |