summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2018-06-12 09:38:26 -0700
committerGitHub <noreply@github.com>2018-06-12 09:38:26 -0700
commit04b3525e0f83f460a2d2d719c643ff85c3ba7955 (patch)
treedbe95869be62165599a7859f85e8da998fdb3385
parentdce9cb27c1f464cb4a5111c27502d8ca1d7297de (diff)
parentc36c92e07781fa6338105aaf989122f2cd0b9e36 (diff)
downloadinfinitytier-04b3525e0f83f460a2d2d719c643ff85c3ba7955.tar.gz
infinitytier-04b3525e0f83f460a2d2d719c643ff85c3ba7955.zip
Merge pull request #755 from skunkwerks/fix/c++-17-deprecation
fix clang C++17 deprecation when building with ZT_DEBUG=1
-rw-r--r--node/Packet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Packet.cpp b/node/Packet.cpp
index 2eeceffa..c83131ca 100644
--- a/node/Packet.cpp
+++ b/node/Packet.cpp
@@ -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 */
-static inline unsigned LZ4_NbCommonBytes (register reg_t val)
+static inline unsigned LZ4_NbCommonBytes (reg_t val)
{
if (LZ4_isLittleEndian()) {
if (sizeof(val)==8) {