Re: [Openvpn-devel] [PATCH 1/1] replace deprecated LZ4 function

2016-12-15 Thread David Sommerseth
On 15/12/16 15:06, Christian Hesse wrote: > From: Christian Hesse > > The LZ4 function LZ4_compress_limitedOutput() is deprecated, compiler > gives warning: > > warning: ‘LZ4_compress_limitedOutput’ is deprecated: use > LZ4_compress_default() instead > > The new function LZ4_compress_default()

Re: [Openvpn-devel] [PATCH 1/1] replace deprecated LZ4 function

2016-12-15 Thread David Woodhouse
On Thu, 2016-12-15 at 14:26 +0100, Christian Hesse wrote: > -    zlen = LZ4_compress_limitedOutput((const char *)BPTR(buf), (char > *)BPTR(work), BLEN(buf), zlen_max ); > +    zlen = LZ4_compress_default((const char *)BPTR(buf), (char > *)BPTR(work), BLEN(buf), zlen_max ); You might want