Fix Clang narrowing error.