aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/UniConversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/UniConversion.h')
-rw-r--r--src/UniConversion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UniConversion.h b/src/UniConversion.h
index 95ff2ad43..a21a020c3 100644
--- a/src/UniConversion.h
+++ b/src/UniConversion.h
@@ -65,7 +65,7 @@ inline int UTF8Classify(std::string_view sv) noexcept {
// Similar to UTF8Classify but returns a length of 1 for invalid bytes
// instead of setting the invalid flag
-int UTF8DrawBytes(const unsigned char *us, int len) noexcept;
+int UTF8DrawBytes(const char *s, size_t len) noexcept;
// Line separator is U+2028 \xe2\x80\xa8
// Paragraph separator is U+2029 \xe2\x80\xa9