diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-02-07 14:54:49 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-02-07 14:54:49 -0700 |
commit | f07b51ee1d9b95c4936e30c204f87a1d396a0f87 (patch) | |
tree | e4659f95764d0b002fae8e9603c55e3cc4b2fa9c /pith | |
parent | 2fb79bff5c3ca10c65d0a426d1d4da4e1e3247c6 (diff) | |
download | alpine-f07b51ee1d9b95c4936e30c204f87a1d396a0f87.tar.xz |
* Change in type of icu[6] variable in pith/ical.c from char to unsigned char
to handle UTF-8.
Diffstat (limited to 'pith')
-rw-r--r-- | pith/ical.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/ical.c b/pith/ical.c index d2c8e2ba..bfad8078 100644 --- a/pith/ical.c +++ b/pith/ical.c @@ -1534,7 +1534,7 @@ ical_parse_rrule(RRULE_S **rrulep, char **text) int ical_non_ascii_valid(unsigned char c) { - static char icu[6]; + static unsigned char icu[6]; static int utf8_len = 0; static int utf8_type = 0; int rv; |