fix up yet more annoying signed/unsigned and mixed type errors

This commit is contained in:
Eric Andersen
2006-01-30 22:48:39 +00:00
parent 9a58b02ec7
commit a68ea1cb93
13 changed files with 49 additions and 46 deletions

View File

@ -2614,10 +2614,10 @@ int parse_stream(o_string *dest, struct p_context *ctx,
return 0;
}
static void mapset(const unsigned char *set, int code)
static void mapset(const char *set, int code)
{
const unsigned char *s;
for (s=set; *s; s++) map[*s] = code;
const char *s;
for (s=set; *s; s++) map[(int)*s] = code;
}
static void update_ifs_map(void)