[sr-dev] git:master:1ea23314: pv: updates for helper functions taking now long instead of int