Fix signedness warning in example_unions.

This commit is contained in:
Petteri Aimonen
2012-08-04 14:34:19 +03:00
parent b582bc9bf6
commit cca65530c5

View File

@@ -17,7 +17,7 @@
const pb_field_t* decode_unionmessage_type(pb_istream_t *stream) const pb_field_t* decode_unionmessage_type(pb_istream_t *stream)
{ {
pb_wire_type_t wire_type; pb_wire_type_t wire_type;
int tag; uint32_t tag;
bool eof; bool eof;
while (pb_decode_tag(stream, &wire_type, &tag, &eof)) while (pb_decode_tag(stream, &wire_type, &tag, &eof))