The warning is encountered on platforms for which char type is signed by
default.
cf the following links
https://stackoverflow.com/questions/
10186219/array-subscript-has-type-char
This must be backported up to 2.4.
authority = http_get_authority(uri, 0);
start = istptr(authority);
end = istend(authority);
- for (ptr = end; ptr > start && isdigit(*--ptr); )
+ for (ptr = end; ptr > start && isdigit((unsigned char)*--ptr); )
;
/* if no port found, no normalization to proceed */