| Index: src/snapshot-source-sink.h
|
| diff --git a/src/snapshot-source-sink.h b/src/snapshot-source-sink.h
|
| index 3c64bca73df29981b212c5842224a0ccc23f2bed..c1a31b5645fec748a9d562538b611601dddf41ce 100644
|
| --- a/src/snapshot-source-sink.h
|
| +++ b/src/snapshot-source-sink.h
|
| @@ -39,7 +39,7 @@ class SnapshotByteSource FINAL {
|
| // This way of variable-length encoding integers does not suffer from branch
|
| // mispredictions.
|
| uint32_t answer = GetUnalignedInt();
|
| - int bytes = answer & 3;
|
| + int bytes = (answer & 3) + 1;
|
| Advance(bytes);
|
| uint32_t mask = 0xffffffffu;
|
| mask >>= 32 - (bytes << 3);
|
|
|