fix: avoid warnings with MSVC (#12762)
In both cases a `size_t` was being converted to a `uint32_t`. These headers are used from application code, or at least from generated code, and the application may be compiling with more warnings enabled than normal.
Closes #12762
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12762 from coryan:fix-avoid-warnings-with-MSVC 5ba6b5db1e
PiperOrigin-RevId: 531506224
pull/12775/head
parent
0ce78c6867
commit
e034aadea3
2 changed files with 5 additions and 4 deletions
Loading…
Reference in new issue