rs: Fix build with ISO C++ 11 compilers

ISO C++ 11 no longer allows implicit narrowing during initialization

Change-Id: Ie359c075b6687962eeaa94d909b6cb92df65213f
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
3 files changed