mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 06:04:31 +04:00
samplicator: fix Wformat warning
Wrong type. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
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);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user