From e5f7bc0ed598c80bec3370d4d51e9d343b170592 Mon Sep 17 00:00:00 2001 From: DTB Date: Sat, 18 Nov 2023 14:57:32 -0700 Subject: [PATCH] type stuff --- unicode/libunicode.c | 2 +- unicode/libunicode.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);