Force inline LZ4_NbCommonBytes().

This commit is contained in:
Bartosz Taudul 2021-04-09 18:18:15 +02:00
parent aee39d3fcd
commit 0476e851ff
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -512,7 +512,7 @@ LZ4_memcpy_using_offset(BYTE* dstPtr, const BYTE* srcPtr, BYTE* dstEnd, const si
/*-************************************
* Common functions
**************************************/
static unsigned LZ4_NbCommonBytes (reg_t val)
LZ4_FORCE_INLINE unsigned LZ4_NbCommonBytes (reg_t val)
{
assert(val != 0);
if (LZ4_isLittleEndian()) {