[Base] Fix `to_hex_string` out-of-indexing for `vec128_t` type

Trying to print five `{:08X}` when vec128_t only has four values. 🥴
This commit is contained in:
Wunkolo 2022-01-02 12:45:13 -08:00 committed by Rick Gibbed
parent 5317907523
commit f645c3ba31
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ inline std::string to_hex_string(double value) {
}
inline std::string to_hex_string(const vec128_t& value) {
return fmt::format("[{:08X} {:08X} {:08X} {:08X} {:08X}]", value.u32[0],
return fmt::format("[{:08X} {:08X} {:08X} {:08X}]", value.u32[0],
value.u32[1], value.u32[2], value.u32[3]);
}