summaryrefslogtreecommitdiffstats
path: root/pb_decode.h
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-07-18 21:21:07 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-07-18 21:21:07 +0300
commit8524de39ce2e4c369ed1051c7ed2e4cd43ad321d (patch)
tree7939acf5b30d146d39555e0633376c1d98f93d6c /pb_decode.h
parent10b5da12dc9757b345a9d6f9daeef9098731ff69 (diff)
Fix an unsigned vs. signed warning on some compiler.
Diffstat (limited to 'pb_decode.h')
-rw-r--r--pb_decode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pb_decode.h b/pb_decode.h
index 0abb342c..7045c5d6 100644
--- a/pb_decode.h
+++ b/pb_decode.h
@@ -48,7 +48,7 @@ bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struc
* You may want to use these from your caller or callbacks.
*/
-bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, int *tag, bool *eof);
+bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof);
bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type);
bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest);