From 97cbb3d20a50bb22d271665af7f8837c11e267ea Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 27 Feb 2022 23:25:28 -0800 Subject: [PATCH] samplicator: fix Wformat warning Wrong type. Signed-off-by: Rosen Penev --- net/samplicator/patches/010-format.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/samplicator/patches/010-format.patch 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); + }