Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-12-21 14:16:03 +0400
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-12-21 14:16:03 +0400
commitee5b12c537115b113ce01708d4a86a4062cdb182 (patch)
tree53c617ada095685ae321e71fbda1b7d7d35ce2cd /tests/alltypes/decode_alltypes.c
parent9cc19a5e998d93fbe6d7a7c18fba1e37a36076d5 (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/alltypes/decode_alltypes.c')
0 files changed, 0 insertions, 0 deletions