From: Rosen Penev Date: Mon, 28 Feb 2022 07:25:28 +0000 (-0800) Subject: samplicator: fix Wformat warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=81ed00124ba8acb843d83bdada6eb852487b62fb;p=feed%2Fpackages.git samplicator: fix Wformat warning Wrong type. Signed-off-by: Rosen Penev (cherry picked from commit 97cbb3d20a50bb22d271665af7f8837c11e267ea) --- 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); + }