diff options
Diffstat (limited to '3rdparty/linenoise/utf8.c')
-rw-r--r-- | 3rdparty/linenoise/utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/linenoise/utf8.c b/3rdparty/linenoise/utf8.c index 0edf450b095..7cd3be8cd5c 100644 --- a/3rdparty/linenoise/utf8.c +++ b/3rdparty/linenoise/utf8.c @@ -202,7 +202,7 @@ static int cmp_range(const void *key, const void *cm) static int utf8_in_range(const struct utf8range *range, int num, int ch) { const struct utf8range *r = - bsearch(&ch, range, num, sizeof(*range), cmp_range); + (const struct utf8range *)bsearch(&ch, range, num, sizeof(*range), cmp_range); if (r) { return 1; |