diff options
author | John Hodge (Mutabah) <acessdev@gmail.com> | 2019-02-06 08:15:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-06 08:15:30 +0800 |
commit | 7b6fa5c6e7d6838c2479280dd3f8d14a43c13899 (patch) | |
tree | e91d8007699fdc17359f69f216edc37d5ac4f5df /src | |
parent | 1a3c5dfcab0776c9a9a057303f823cec16386517 (diff) | |
parent | 3108cf9eea6dfd801136987568c072f4105b9b7a (diff) | |
download | mrust-7b6fa5c6e7d6838c2479280dd3f8d14a43c13899.tar.gz |
Merge pull request #111 from daym/master
Fix recv_v128u procedural macro plugin decoder
Diffstat (limited to 'src')
-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 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; |