samplicator: fix Wformat warning

Wrong type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 97cbb3d20a)
This commit is contained in:
Rosen Penev 2022-02-27 23:25:28 -08:00 committed by Nick Hainke
parent da82b8c9c8
commit 81ed00124b
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/samplicate.c
+++ b/samplicate.c
@@ -560,7 +560,7 @@ samplicate (ctx)
}
if (len != sizeof remote_address)
{
- fprintf (stderr, "recvfrom() return address length %d - expected %d\n",
+ fprintf (stderr, "recvfrom() return address length %d - expected %zu\n",
len, sizeof remote_address);
exit (1);
}