From 1aa61f108a1cb1b24219bf0fc0dc52f72c310e89 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sat, 4 Aug 2012 14:34:19 +0300 Subject: Fix signedness warning in example_unions. --- example_unions/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example_unions/decode.c') diff --git a/example_unions/decode.c b/example_unions/decode.c index b20df84..edd568c 100644 --- a/example_unions/decode.c +++ b/example_unions/decode.c @@ -17,7 +17,7 @@ const pb_field_t* decode_unionmessage_type(pb_istream_t *stream) { pb_wire_type_t wire_type; - int tag; + uint32_t tag; bool eof; while (pb_decode_tag(stream, &wire_type, &tag, &eof)) -- cgit v1.2.3