[sr-dev] git:master:7c097c1b: pv: remove unnecessary casts that rise warnings with some compilers