aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-02-27 23:25:28 -0800
committerNick Hainke <vincent@systemli.org>2022-02-28 11:24:56 +0100
commit97cbb3d20a50bb22d271665af7f8837c11e267ea (patch)
tree824626d7828079f781c1ad9f83b4bd7a38c88d60
parentaabd7a137adcc4b724fede00ad7714577146559a (diff)
samplicator: fix Wformat warning
Wrong type. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--net/samplicator/patches/010-format.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/samplicator/patches/010-format.patch b/net/samplicator/patches/010-format.patch
new file mode 100644
index 000000000..9ce8bd817
--- /dev/null
+++ b/net/samplicator/patches/010-format.patch
@@ -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);
+ }