return *a != *b;
}
-static int find_charmap(const char *name)
+static size_t find_charmap(const char *name)
{
const unsigned char *s;
for (s=charmaps; *s; ) {
iconv_t iconv_open(const char *to, const char *from)
{
- int f, t;
+ size_t f, t;
if ((t = find_charmap(to)) < 0 || (f = find_charmap(from)) < 0) {
errno = EINVAL;