From: Christian Hesse Date: Thu, 15 Dec 2016 14:26:36 +0100 Message-Id: <20161215132636.19843-1-list@...1798...> MIME-Version: 1.0 Subject: [Openvpn-devel] [PATCH 1/1] replace deprecated LZ4 function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To: OpenVPN Development Cc: Christian Hesse From: Christian Hesse The LZ4 function LZ4_compress_limitedOutput() is deprecated, compiler gives warning: warning: =E2=80=98LZ4_compress_limitedOutput=E2=80=99 is deprecated: use LZ4_compress_default() instead So replace the function. Signed-off-by: Christian Hesse --- src/openvpn/comp-lz4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/comp-lz4.c b/src/openvpn/comp-lz4.c index 6b7c49b..90feaa5 100644 --- a/src/openvpn/comp-lz4.c +++ b/src/openvpn/comp-lz4.c @@ -87,7 +87,7 @@ do_lz4_compress(struct buffer *buf, return false; } =20 - zlen =3D LZ4_compress_limitedOutput((const char *)BPTR(buf), (char= *)BPTR(work), BLEN(buf), zlen_max ); + zlen =3D LZ4_compress_default((const char *)BPTR(buf), (char *)BPT= R(work), BLEN(buf), zlen_max ); =20 if (zlen <=3D 0) { --=20 2.11.0