Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Oct 22, 2024
1 parent 8c91bb0 commit e8b5cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/util/odd-sized-integers.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ inline constexpr int64_t MinSignedValue(unsigned ByteSize)
{
return std::numeric_limits<int64_t>::min();
}
return -(static_cast<int32_t>(1) << (8 * ByteSize - 1));
return -(static_cast<int64_t>(1) << (8 * ByteSize - 1));
}

/// Readability-method to express that the maximum signed value is a null value
Expand Down

0 comments on commit e8b5cbe

Please sign in to comment.