3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 12:52:49 +01:00

ecdh: Fix warning

This commit is contained in:
Denis Kenzior 2018-11-19 14:27:17 -06:00
parent 44c4074c35
commit 1e6df6a226

View File

@ -148,7 +148,7 @@ bool ecdh_generate_shared_secret(const void *private, const void *other_public,
} else if (pub_len == 64) {
memcpy(&public, other_public, 64);
} else {
l_error("unsupported public key length %ld", pub_len);
l_error("unsupported public key length %zu", pub_len);
return false;
}