diff options
Diffstat (limited to 'muttlib.c')
-rw-r--r-- | muttlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -521,7 +521,7 @@ char *mutt_gecos_name (char *dest, size_t destlen, struct passwd *pw) memmove (&dest[idx + pwnl], &dest[idx + 1], MAX(destlen - idx - pwnl - 1, 0)); memcpy (&dest[idx], pw->pw_name, MIN(destlen - idx - 1, pwnl)); - dest[idx] = toupper (dest[idx]); + dest[idx] = toupper ((unsigned char) dest[idx]); } } |