Skip to contentSkip to conversation

dpp: use %zu for printing size_t

PATCH New James Prestwood 1 participant 1 message Jan 5, 2022

lore
Share & tools
lore

James Prestwood

author
#0 lore raw

PATCH 1/1 dpp: use %zu for printing size_t

---
 src/dpp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/dpp.c +1 -1
index 9eb1d642..dedbd3b2 100644
@@ -1272,7 +1272,7 @@ static void authenticate_request(struct dpp_sm *dpp, const uint8_t *from,
 	}
 
 	if (i_nonce_len != dpp->nonce_len) {
-		l_debug("I-Nonce has unexpected length %lu", i_nonce_len);
+		l_debug("I-Nonce has unexpected length %zu", i_nonce_len);
 		goto auth_request_failed;
 	}
 
Signature · 1 line
2.31.1