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:24:56 +0000 (11:24 +0100)
Wrong type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
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);
+       }