diff --git a/unicode/libunicode.c b/unicode/libunicode.c index 4303807..e11c045 100644 --- a/unicode/libunicode.c +++ b/unicode/libunicode.c @@ -1,6 +1,6 @@ #include "libunicode.h" -utf8_t utf8(utf32_t c){ +utf32_t utf8(utf32_t c){ unsigned char n; /* 4 - number of bytes - 1 */ utf8_t r; diff --git a/unicode/libunicode.h b/unicode/libunicode.h index 3d1fb48..7843866 100644 --- a/unicode/libunicode.h +++ b/unicode/libunicode.h @@ -13,4 +13,4 @@ #define UTF8_MAX 0x10FFFF /* encode UTF-32 value into UTF-8 */ -utf8_t utf8(utf32_t c); +utf32_t utf8(utf32_t c);