mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 10:46:33 +00:00
Merge pull request #755 from skunkwerks/fix/c++-17-deprecation
fix clang C++17 deprecation when building with ZT_DEBUG=1
This commit is contained in:
commit
04b3525e0f
@ -332,7 +332,7 @@ static const int LZ4_minLength = (MFLIMIT+1);
|
|||||||
|
|
||||||
#define LZ4_STATIC_ASSERT(c) { enum { LZ4_static_assert = 1/(int)(!!(c)) }; } /* use only *after* variable declarations */
|
#define LZ4_STATIC_ASSERT(c) { enum { LZ4_static_assert = 1/(int)(!!(c)) }; } /* use only *after* variable declarations */
|
||||||
|
|
||||||
static inline unsigned LZ4_NbCommonBytes (register reg_t val)
|
static inline unsigned LZ4_NbCommonBytes (reg_t val)
|
||||||
{
|
{
|
||||||
if (LZ4_isLittleEndian()) {
|
if (LZ4_isLittleEndian()) {
|
||||||
if (sizeof(val)==8) {
|
if (sizeof(val)==8) {
|
||||||
|
Loading…
Reference in New Issue
Block a user