warning C4310: cast truncates constant value

Change-Id: Id5535ec71c47ad29283607d1d1b9f3a502e34fe1