diff options
author | Vincent Lefevre <vincent@vinc17.net> | 2003-07-24 18:40:50 +0000 |
---|---|---|
committer | Vincent Lefevre <vincent@vinc17.net> | 2003-07-24 18:40:50 +0000 |
commit | 553ef91d6b72bf403c608b81d00f5112bae6da46 (patch) | |
tree | 3e37980522ca3dff6edbf237a7cc4ef7c3378147 /alias.c | |
parent | 8fe7e1b4e615dbbc655a96e292af24f045987282 (diff) |
Some functions/macros like isspace take an int and require the
argument to have the value of an unsigned char (or EOF). Under
Solaris, gcc complains when the argument is a char (as this is a
possible bug, on platforms where char is signed, like Solaris). The
attached patch fixes such problems (well, perhaps I've changed more
than necessary, but this doesn't hurt).
Diffstat (limited to 'alias.c')
-rw-r--r-- | alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -353,7 +353,7 @@ retry_name: static int check_alias_name_char (char c) { return (c == '-' || c == '_' || c == '+' || c == '=' || c == '.' || - isalnum (c)); + isalnum ((unsigned char) c)); } int mutt_check_alias_name (const char *s, char *d) |