mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-21 22:30:57 +00:00
Fix some UB in test
This commit is contained in:
@@ -2057,7 +2057,7 @@ public:
|
||||
// number to avoid overflow and UB
|
||||
Number const n{
|
||||
true,
|
||||
-static_cast<std::uint64_t>(std::numeric_limits<std::int64_t>::min()) + 1,
|
||||
static_cast<std::uint64_t>(std::numeric_limits<std::int64_t>::max()) + 1,
|
||||
0,
|
||||
Number::Normalized{}};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user