Change flag type to uint32_t for parser flags
The argument for the parser flags should have uint32_t as type to
prevent overflow on platforms where an int is not 32 bit wide.
diff --git a/src/cborparser.c b/src/cborparser.c
index aeb9a41..6571f29 100644
--- a/src/cborparser.c
+++ b/src/cborparser.c
@@ -372,7 +372,7 @@
* threads iterating at the same time, but the object can be copied so multiple
* threads can iterate.
*/
-CborError cbor_parser_init(const uint8_t *buffer, size_t size, int flags, CborParser *parser, CborValue *it)
+CborError cbor_parser_init(const uint8_t *buffer, size_t size, uint32_t flags, CborParser *parser, CborValue *it)
{
memset(parser, 0, sizeof(*parser));
parser->end = buffer + size;