Commit 70d192eb authored by Mark Andrews's avatar Mark Andrews Committed by Evan Hunt
Browse files

update the sscanf format strings so they match the pointer types

parent a4186b18
......@@ -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)
......@@ -18692,7 +18692,7 @@ dns_zone_keydone(dns_zone_t *zone, const char *keystr) {
n = sscanf(algstr, "%hhd", &alg);
n = sscanf(algstr, "%hhu", &alg);
if (n == 0U) {
DE_CONST(algstr, r.base);
r.length = strlen(algstr);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment