Commit 9ac1130e authored by Alexander Barkov's avatar Alexander Barkov

An upstream bug fixed:

"mtr ctype_ldml" failed when compiled with "gcc -funsigned-char".
Changing the code not to depend on the signed/unsigned compiler defaults
for the "char" data type.
parent 03f6778d
......@@ -425,7 +425,7 @@ scan_one_character(const char *s, const char *e, my_wc_t *wc)
wc[0]= 0;
return len;
}
else if (s[0] > 0) /* 7-bit character */
else if ((int8) s[0] > 0) /* 7-bit character */
{
wc[0]= 0;
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment