Fix compiler warning on MSVC (issue #57)

This commit is contained in:
Petteri Aimonen
2013-02-07 17:19:53 +02:00
parent c3729599b0
commit 4b7ddabbcf

View File

@@ -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;