Skip to content

Commit

Permalink
Bug #74891: default cmake excludes utf8_5624_1 charset, required for …
Browse files Browse the repository at this point in the history
…main.ctype_ldml

Fix scan_one_character() to work correctly on architectures where char is
unsigned by default.
  • Loading branch information
akopytov committed Jun 29, 2015
1 parent 961958f commit a47276f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strings/ctype.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a47276f

Please sign in to comment.