[sr-dev] git:master: pv: use int index for looking up flag index