summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-08-04 14:34:19 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-08-04 14:34:19 +0300
commit1aa61f108a1cb1b24219bf0fc0dc52f72c310e89 (patch)
tree37b864ead1909faa33a0d553d3c2102bad4cdb83
parentb582bc9bf699ee76f8634c3c7b7aa1ec0a0afb08 (diff)
Fix signedness warning in 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))