Hi, > -----Original Message----- > From: dev [mailto:[email protected]] On Behalf Of Li Han
To avoid typecast below , please use uint64_t for enabled_port_mask.
So change below function return type to uint64_t
> -static int
> +static uint32_t
> parse_portmask(const char *portmask)
> {
Declare pm to be of type uint64_t.
> + return (uint32_t)pm;
You can remove above typecast after change to uint64_t.
Thanks,
Reshma

