summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm>2023-07-03 08:37:14 +0000
committernicm <nicm>2023-07-03 08:37:14 +0000
commite79fb214f8001c309c9ae11eba5fcbbac97f1acf (patch)
tree57b7fd44ab4ce69b87afc40c1aa1e1c9871778e0
parenta2a02fd7d75a9d866570261fd428fefa773a6bf8 (diff)
Another warning fix for GCC from Thomas Klausner.
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index f93891a6..10ccf422 100644
--- a/utf8.c
+++ b/utf8.c
@@ -72,7 +72,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;