ecdh: Fix warning

This commit is contained in:
Denis Kenzior 2018-11-19 14:27:17 -06:00
parent 44c4074c35
commit 1e6df6a226
1 changed files with 1 additions and 1 deletions

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;
}