am 5860909e: Merge "Fix return range for rsSample."

* commit '5860909e9a35e77e3502f3a332351c59892663ea':
  Fix return range for rsSample.