samplicator: fix Wformat warning
Wrong type.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 97cbb3d20a
)
This commit is contained in:
parent
da82b8c9c8
commit
81ed00124b
1 changed files with 11 additions and 0 deletions
11
net/samplicator/patches/010-format.patch
Normal file
11
net/samplicator/patches/010-format.patch
Normal 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);
|
||||
}
|
Loading…
Reference in a new issue