diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-12-21 12:16:03 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-12-21 12:16:03 +0200 |
commit | ee5b12c537115b113ce01708d4a86a4062cdb182 (patch) | |
tree | 53c617ada095685ae321e71fbda1b7d7d35ce2cd /tests/field_size_16 | |
parent | 9cc19a5e998d93fbe6d7a7c18fba1e37a36076d5 (diff) |
Add PB_LTYPE_UVARINT to fix encoding of negative int32 values.
Apparently int32 values that are negative must be cast into int64 first
before being encoded. Because uint32 still needs to be cast to uint64,
the cases for int32 and uint32 had to be separated.
Update issue 97
Status: FixedInGit
Diffstat (limited to 'tests/field_size_16')
0 files changed, 0 insertions, 0 deletions