Force inline LZ4_NbCommonBytes().

This commit is contained in:
Bartosz Taudul 2020-02-23 14:40:09 +01:00
parent bd34c24b84
commit 6968a42abe

View File

@ -473,7 +473,8 @@ static int g_debuglog_enable = 1;
/*-************************************
* Common functions
**************************************/
static unsigned LZ4_NbCommonBytes (reg_t val)
LZ4_FORCE_INLINE
unsigned LZ4_NbCommonBytes (reg_t val)
{
if (LZ4_isLittleEndian()) {
if (sizeof(val)==8) {