else
{
/* use the real input */
- ib = s;
- ibmax = s + n;
+ ib = (ICONV_CONST char*) s;
+ ibmax = (ICONV_CONST char*) s + n;
}
ob = bufo;
else if (k && ib > bufi + k && bufi + k + n > ibmax)
{
/* switch to using real input */
- ib = s + (ib - bufi - k);
- ibmax = s + n;
+ ib = (ICONV_CONST char*) s + (ib - bufi - k);
+ ibmax = (ICONV_CONST char*) s + n;
k = 0;
++ibl;
}
#ifdef iswalnum
# undef iswalnum
#endif
+#ifdef iswalpha
+# undef iswalpha
+#endif
+#ifdef iswupper
+# undef iswupper
+#endif
size_t wcrtomb (char *s, wchar_t wc, mbstate_t *ps);
size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps);
int iswprint (wint_t wc);
int iswspace (wint_t wc);
int iswalnum (wint_t wc);
+int iswalpha (wint_t wc);
+int iswupper (wint_t wc);
wint_t towupper (wint_t wc);
wint_t towlower (wint_t wc);
int wcwidth (wchar_t wc);