This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new cacad64d2c [fix] Error when compiling under ARM architecture machine, fixed a loop (#9948) cacad64d2c is described below commit cacad64d2cdc020a181d4afa98bddf89a42ad785 Author: FreeOnePlus <54164178+freeonep...@users.noreply.github.com> AuthorDate: Fri Jun 3 08:00:55 2022 +0800 [fix] Error when compiling under ARM architecture machine, fixed a loop (#9948) --- be/src/util/simd/bits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/util/simd/bits.h b/be/src/util/simd/bits.h index b907ebb5ef..09b1fe519b 100644 --- a/be/src/util/simd/bits.h +++ b/be/src/util/simd/bits.h @@ -46,7 +46,7 @@ inline uint32_t bytes32_mask_to_bits32_mask(const uint8_t* data) { 0xffff0000); #else uint32_t mask = 0; - for (size_t i = 0; i < 32; ++i) { + for (std::size_t i = 0; i < 32; ++i) { mask |= static_cast<uint32_t>(1 == *(data + i)) << i; } #endif @@ -58,4 +58,4 @@ inline uint32_t bytes32_mask_to_bits32_mask(const bool* data) { } } // namespace simd -} // namespace doris \ No newline at end of file +} // namespace doris --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org