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