Commit de4ce2e2 authored by Protobuf Team Bot's avatar Protobuf Team Bot Committed by Copybara-Service
Browse files

Change the C++ parsers to be consistent on how they handle unknown enum values.

They now consistently parse the varint and then push the int32 representation into the unknown field set. Previously the behavior was sometimes pushing the original varint, sometimes pushing a uint32_t truncated value, and sometimes an int32_t truncated value.

PiperOrigin-RevId: 512140469
parent 8ee8d352
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment