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.