From: nicm Date: Mon, 3 Jul 2023 08:37:14 +0000 (+0000) Subject: Another warning fix for GCC from Thomas Klausner. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=423d19d0e735cf8521237a0129d358ec43161e7e;p=openbsd Another warning fix for GCC from Thomas Klausner. --- diff --git a/usr.bin/tmux/utf8.c b/usr.bin/tmux/utf8.c index 7c142c5593e..ffcea559e0c 100644 --- a/usr.bin/tmux/utf8.c +++ b/usr.bin/tmux/utf8.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utf8.c,v 1.61 2023/06/30 21:55:09 nicm Exp $ */ +/* $OpenBSD: utf8.c,v 1.62 2023/07/03 08:37:14 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -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;