Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hurchalla committed Jan 31, 2025
1 parent be93362 commit 5f7b0c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ struct slow_unsigned_multiply_to_hilo_product {
// clause will not run when T is 4x or 8x the size of largest integer the
// compiler knows, which is not ideal.
if constexpr (!is_valid_sized_uint<ut_numeric_limits<T>::digits>::value &&
is_valid_sized_uint<shift>::value)
is_valid_sized_uint<static_cast<int>(shift)>::value)
{
using U = typename sized_uint<shift>::type;
using U = typename sized_uint<static_cast<int>(shift)>::type;

U u0 = static_cast<U>(u);
U v0 = static_cast<U>(v);
Expand Down

0 comments on commit 5f7b0c1

Please sign in to comment.