summaryrefslogtreecommitdiffstats
path: root/utf8.h
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2021-04-14 00:59:02 +0200
committerpgen <p.gen.progs@gmail.com>2021-04-16 22:23:19 +0200
commitb6d207cd35b34fc52e89a37ad5cca7b52f46df75 (patch)
tree32ad429ae4511247576fe0939da3d8f63712518f /utf8.h
parent1563f58b27684de2e2ab3af6139bbcb007ccc753 (diff)
Fix a mismatch between signed and unsigned chars
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.h b/utf8.h
index 855a3c8..0ee1e01 100644
--- a/utf8.h
+++ b/utf8.h
@@ -42,8 +42,8 @@ cptoutf8(char * utf8_str, uint32_t c);
int
utf8_interpret(char * s, langinfo_t * langinfo, char sc);
-unsigned char *
-utf8_validate(unsigned char * str);
+char *
+utf8_validate(char * str);
char *
utf8_prev(const char * str, const char * p);