samplicator: fix Wformat warning
authorRosen Penev <rosenp@gmail.com>
Mon, 28 Feb 2022 07:25:28 +0000 (23:25 -0800)
committerNick Hainke <vincent@systemli.org>
Mon, 28 Feb 2022 10:52:05 +0000 (11:52 +0100)
Wrong type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 97cbb3d20a50bb22d271665af7f8837c11e267ea)

net/samplicator/patches/010-format.patch [new file with mode: 0644]

diff --git a/net/samplicator/patches/010-format.patch b/net/samplicator/patches/010-format.patch
new file mode 100644 (file)
index 0000000..9ce8bd8
--- /dev/null
@@ -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);
+       }