aboutsummaryrefslogtreecommitdiff
path: root/utf.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-01-01 20:34:23 -0800
committerMichael Forney <mforney@mforney.org>2022-01-01 20:34:23 -0800
commit0bc29c89c13a61806a28f054f04a01afd8242669 (patch)
treeec5bf4b2aad8aad056045f489e6efb56ee7c8708 /utf.c
parentaefb830ede6316f5fcf4c3c48b79a661c66c9f2e (diff)
Remove dependency on signed integer representation
Diffstat (limited to 'utf.c')
-rw-r--r--utf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf.c b/utf.c
index 7891f7e..f6cefcd 100644
--- a/utf.c
+++ b/utf.c
@@ -33,7 +33,7 @@ utf8enc(unsigned char *s, uint_least32_t c)
}
size_t
-utf8dec(uint_least32_t *c, const char *s, size_t n)
+utf8dec(uint_least32_t *c, const unsigned char *s, size_t n)
{
size_t i, l;
unsigned char b;