summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2023-07-03 12:01:09 +0100
committerThomas Adam <thomas@xteddy.org>2023-07-03 12:01:09 +0100
commit659d876cd57c345d653b12f02a75d383ce38eacb (patch)
tree687448d203d4a844942343be4c5c41c2adcd6ebf
parent9cf58d1a52adf4c2d2d93b0bc455ffa8dbb134e9 (diff)
parente79fb214f8001c309c9ae11eba5fcbbac97f1acf (diff)
Merge branch 'obsd-master'
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 0c5a1287..38f1a89a 100644
--- a/utf8.c
+++ b/utf8.c
@@ -71,7 +71,7 @@ static u_int utf8_next_index;
/* Get a UTF-8 item from data. */
static struct utf8_item *
-utf8_item_by_data(const char *data, size_t size)
+utf8_item_by_data(const u_char *data, size_t size)
{
struct utf8_item ui;