Fix compiler warnings when building with CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;