mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '3499-duration-c-66-6-warning-array-subscript-is-of-type-char-on-netbsd-9' into 'main'
Resolve "duration.c:66:6: warning: array subscript is of type 'char' on NetBSD 9" Closes #3499 See merge request isc-projects/bind9!6685
This commit is contained in:
commit
866664d79c
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ isccfg_duration_fromtext(isc_textregion_t *source,
|
|||
duration->unlimited = false;
|
||||
|
||||
/* Every duration starts with 'P' */
|
||||
if (toupper(str[0]) != 'P') {
|
||||
if (toupper((unsigned char)str[0]) != 'P') {
|
||||
return (ISC_R_BADNUMBER);
|
||||
}
|
||||
P = str;
|
||||
|
|
|
|||
Loading…
Reference in a new issue