mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
update the sscanf format strings so they match the pointer types
This commit is contained in:
parent
a4186b1867
commit
70d192eb97
@ -18682,7 +18682,7 @@ dns_zone_keydone(dns_zone_t *zone, const char *keystr) {
|
||||
|
||||
kd->all = ISC_FALSE;
|
||||
|
||||
n = sscanf(keystr, "%hd/", &keyid);
|
||||
n = sscanf(keystr, "%hu/", &keyid);
|
||||
if (n == 0U)
|
||||
CHECK(ISC_R_FAILURE);
|
||||
|
||||
@ -18692,7 +18692,7 @@ dns_zone_keydone(dns_zone_t *zone, const char *keystr) {
|
||||
else
|
||||
CHECK(ISC_R_FAILURE);
|
||||
|
||||
n = sscanf(algstr, "%hhd", &alg);
|
||||
n = sscanf(algstr, "%hhu", &alg);
|
||||
if (n == 0U) {
|
||||
DE_CONST(algstr, r.base);
|
||||
r.length = strlen(algstr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user