Fixes clang warning about implicit conversion

"Implicit conversion looses integer precision"