From: Petteri Aimonen Date: Thu, 7 Feb 2013 15:19:53 +0000 (+0200) Subject: Fix compiler warning on MSVC (issue #57) X-Git-Tag: 3.99.1~14^2~414 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=4b7ddabbcf2b4e272675edbd20fd64fe921c99cf;p=apps%2Flow-level-can-service.git Fix compiler warning on MSVC (issue #57) --- 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;