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-02-07 19:19:53 +0400
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-02-07 19:19:53 +0400
commit4b7ddabbcf2b4e272675edbd20fd64fe921c99cf (patch)
tree18eb17d209bdb243151e476f6818dadeac6eda4f
parentc3729599b0542770eff6259836c840e7a8bb3aab (diff)
Fix compiler warning on MSVC (issue #57)
-rw-r--r--pb_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pb_decode.c b/pb_decode.c
index edcbb18..b25f3f5 100644
--- a/pb_decode.c
+++ b/pb_decode.c
@@ -529,7 +529,7 @@ bool checkreturn pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[
* are already close to end after decoding.
*/
unsigned req_field_count;
- uint8_t last_type;
+ pb_type_t last_type;
unsigned i;
do {
req_field_count = iter.required_field_index;