summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-02-07 17:19:53 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-02-07 17:19:53 +0200
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 edcbb182..b25f3f55 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;