mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 01:49:59 -04:00
Merge branch 'mnowak/warning-array-subscript-is-of-type-char-on-netbsd-9' into 'main'
Fix "array subscript is of type 'char'" on NetBSD 9 See merge request isc-projects/bind9!5591
This commit is contained in:
commit
bf0fce265a
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ svc_fromtext(isc_textregion_t *region, isc_buffer_t *target) {
|
|||
RETERR(alpn_fromtxt(region, target));
|
||||
break;
|
||||
case sbpr_port:
|
||||
if (!isdigit(*region->base)) {
|
||||
if (!isdigit((unsigned char)*region->base)) {
|
||||
return (DNS_R_SYNTAX);
|
||||
}
|
||||
ul = strtoul(region->base, &e, 10);
|
||||
|
|
|
|||
Loading…
Reference in a new issue