Browse Source

samplicator: fix Wformat warning

Wrong type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 2 years ago
committed by Nick Hainke
parent
commit
97cbb3d20a
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      net/samplicator/patches/010-format.patch

+ 11
- 0
net/samplicator/patches/010-format.patch 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);
}

Loading…
Cancel
Save