summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/expand/proc_macro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/proc_macro.cpp b/src/expand/proc_macro.cpp
index 3f26c648..b61851b3 100644
--- a/src/expand/proc_macro.cpp
+++ b/src/expand/proc_macro.cpp
@@ -977,7 +977,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;