2
0
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:
Mark Andrews 2018-02-20 12:54:55 +11:00 committed by Evan Hunt
parent a4186b1867
commit 70d192eb97

View File

@ -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);