From 81ed00124ba8acb843d83bdada6eb852487b62fb 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 (cherry picked from commit 97cbb3d20a50bb22d271665af7f8837c11e267ea) --- 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 0000000000..9ce8bd817e --- /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); + } -- 2.30.2