Fix build: utf8strvisx() does signed data comparisons, but 'char' type
is unsigned in riscv GCC, so use guaranted signed char type. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
ab40f58ccf
commit
c6dc704e84
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335889
@ -344,7 +344,7 @@ static const char *vis_encodes[] = {
|
|||||||
int
|
int
|
||||||
utf8strvisx(char *dst, const char *src, size_t src_len)
|
utf8strvisx(char *dst, const char *src, size_t src_len)
|
||||||
{
|
{
|
||||||
const char *src_p;
|
const signed char *src_p;
|
||||||
char *dst_p;
|
char *dst_p;
|
||||||
int i, j, olen, len;
|
int i, j, olen, len;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user