summaryrefslogtreecommitdiff
path: root/modules/codec
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec')
-rw-r--r--modules/codec/c++/transport.hpp4
1 files changed, 2 insertions, 2 deletions
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);
}