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) { ...@@ -18682,7 +18682,7 @@ dns_zone_keydone(dns_zone_t *zone, const char *keystr) {
kd->all = ISC_FALSE; kd->all = ISC_FALSE;
n = sscanf(keystr, "%hd/", &keyid); n = sscanf(keystr, "%hu/", &keyid);
if (n == 0U) if (n == 0U)
CHECK(ISC_R_FAILURE); CHECK(ISC_R_FAILURE);
...@@ -18692,7 +18692,7 @@ dns_zone_keydone(dns_zone_t *zone, const char *keystr) { ...@@ -18692,7 +18692,7 @@ dns_zone_keydone(dns_zone_t *zone, const char *keystr) {
else else
CHECK(ISC_R_FAILURE); CHECK(ISC_R_FAILURE);
n = sscanf(algstr, "%hhd", &alg); n = sscanf(algstr, "%hhu", &alg);
if (n == 0U) { if (n == 0U) {
DE_CONST(algstr, r.base); DE_CONST(algstr, r.base);
r.length = strlen(algstr); 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