Skip to content

Commit 400aca4

Browse files
committed
fix: useless cast warning
1 parent b622433 commit 400aca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libutil/src/MulHi64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace {
2525
};
2626

2727
auto get_hi_32_bits = [](const uint64_t value) noexcept {
28-
return static_cast<uint64_t>(value >> UINT64_C(32));
28+
return value >> UINT64_C(32);
2929
};
3030

3131
const auto a_lo = get_lo_32_bits(first);

0 commit comments

Comments
 (0)