diff options
Diffstat (limited to 'src/expand/proc_macro.cpp')
-rw-r--r-- | src/expand/proc_macro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/proc_macro.cpp b/src/expand/proc_macro.cpp index 3b23184e..bc882d77 100644 --- a/src/expand/proc_macro.cpp +++ b/src/expand/proc_macro.cpp @@ -1008,7 +1008,7 @@ uint64_t ProcMacroInv::recv_v128u() for(;;) { auto b = recv_u8(); - v |= static_cast<uint64_t>(b) << ofs; + v |= static_cast<uint64_t>(b & 0x7F) << ofs; if( (b & 0x80) == 0 ) break; ofs += 7; |