diff options
Diffstat (limited to 'net/zerotier/files/patch-node_Packet.cpp')
-rw-r--r-- | net/zerotier/files/patch-node_Packet.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/zerotier/files/patch-node_Packet.cpp b/net/zerotier/files/patch-node_Packet.cpp new file mode 100644 index 000000000000..7bb792ce3e63 --- /dev/null +++ b/net/zerotier/files/patch-node_Packet.cpp @@ -0,0 +1,11 @@ +--- node/Packet.cpp.orig 2018-05-18 09:03:14 UTC ++++ 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) { |