From b9a4cf706cf0145c814ef5987dad21ebc4172ac6 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Sun, 11 Aug 2024 16:07:52 +0200 Subject: wip --- modules/codec/c++/transport.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/codec') diff --git a/modules/codec/c++/transport.hpp b/modules/codec/c++/transport.hpp index 5eeacbb..bc58937 100644 --- a/modules/codec/c++/transport.hpp +++ b/modules/codec/c++/transport.hpp @@ -102,7 +102,7 @@ public: buffer_view view{out_buff}; uint64_t i = 0u; for(i = 0u; i < Len && view.write_composite_length() > 0u; ++i){ - view.write() = (value & 0x7F); + view.write() = (val & 0x7F); if( ( val & ~0x7F ) == 0u ){ ++i; @@ -111,7 +111,7 @@ public: view.write() |= 0x80; - value = (value >> (i * 7u)); + val = (val >> (i * 7u)); view.write_advance(1u); } -- cgit v1.2.3