X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2Fmp-charconv.h;h=5401d4f308955cd8326f057184e4a9571f910b71;hb=5403c0fab834f71416e627dfd7346a577a0ca6f5;hp=8218c29a9bda95c9a97b22aab4d9458bfa0f7c14;hpb=0b7df598070533b746e6162e53f90af764bd8f83;p=libucw.git diff --git a/charset/mp-charconv.h b/charset/mp-charconv.h index 8218c29a..5401d4f3 100644 --- a/charset/mp-charconv.h +++ b/charset/mp-charconv.h @@ -17,12 +17,12 @@ #define mp_strconv ucw_mp_strconv #endif -byte *mp_strconv(struct mempool *mp, const byte *s, uns cs_in, uns cs_out); +byte *mp_strconv(struct mempool *mp, const byte *s, uint cs_in, uint cs_out); -static inline byte *mp_strconv_to_utf8(struct mempool *mp, const byte *s, uns cs_in) +static inline byte *mp_strconv_to_utf8(struct mempool *mp, const byte *s, uint cs_in) { return mp_strconv(mp, s, cs_in, CONV_CHARSET_UTF8); } -static inline byte *mp_strconv_from_utf8(struct mempool *mp, const byte *s, uns cs_out) +static inline byte *mp_strconv_from_utf8(struct mempool *mp, const byte *s, uint cs_out) { return mp_strconv(mp, s, CONV_CHARSET_UTF8, cs_out); } #endif