Fix narrowing int issue on clang 3.3