samplicator: fix Wformat warning
Wrong type. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
aabd7a137a
commit
97cbb3d20a
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