Skip to content

Commit

Permalink
NED
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiang-hhhh committed Nov 1, 2024
1 parent 82165f3 commit 20be302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/data_types/data_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ constexpr auto SERIALIZED_MEM_SIZE_LIMIT = 256;
template <typename T>
inline T upper_int32(T size) {
static_assert(std::is_unsigned_v<T>);
return T((3 + size) / 4.0);
return T(static_cast<double>(3 + size) / 4.0);
}

/** Properties of data type.
Expand Down

0 comments on commit 20be302

Please sign in to comment.