aboutsummaryrefslogtreecommitdiffstats
path: root/example_unions
diff options
context:
space:
mode:
Diffstat (limited to 'example_unions')
-rw-r--r--example_unions/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example_unions/decode.c b/example_unions/decode.c
index b20df84e..edd568cb 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))