/include/protozero/varint.hpp:57:33: runtime error: implicit conversion from type 'int8_t' (aka 'signed char') of value -128 (8-bit, signed) to type 'unsigned int' changed the value to 4294967168 (32-bit, unsigned)
/include/protozero/varint.hpp:91:27: runtime error: implicit conversion from type 'char' of value -79 (8-bit, signed) to type 'unsigned int' changed the value to 4294967217 (32-bit, unsigned)
Fix
57c57
< val |= uint64_t(*p++ & 0x7fu) << shift;
---
> val |= uint64_t(*p++ & 0x7f) << shift;
Issue
Fix
/cc @joto @springmeyer