projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use signed char rather than plain char for int8_t
[musl]
/
src
/
locale
/
iconv.c
diff --git
a/src/locale/iconv.c
b/src/locale/iconv.c
index
a7d4fd9
..
30a457f
100644
(file)
--- a/
src/locale/iconv.c
+++ b/
src/locale/iconv.c
@@
-94,7
+94,7
@@
iconv_t iconv_open(const char *to, const char *from)
if ((t = find_charmap(to))==-1
|| (f = find_charmap(from))==-1
- || (
t
>= 0320)) {
+ || (
charmaps[t]
>= 0320)) {
errno = EINVAL;
return (iconv_t)-1;
}