Undo r302599 and partially r302594 case 2):
since WCHAR_MAX can be not a valid wchar value, it is easier to stay inside wint_t.
This commit is contained in:
parent
239e5577a2
commit
75a1631e30
@ -266,7 +266,7 @@ main(int argc, char **argv)
|
||||
*/
|
||||
s2.str = argv[1];
|
||||
s2.state = NORMAL;
|
||||
for (cnt = 0; cnt <= (wint_t)WCHAR_MAX; cnt++) {
|
||||
for (cnt = 0; cnt <= WINT_MAX; cnt++) {
|
||||
if (Cflag && !iswrune(cnt))
|
||||
continue;
|
||||
if (cmap_lookup(map, cnt) == OOBCH) {
|
||||
|
Loading…
Reference in New Issue
Block a user