diff options
author | Mai M <mathew1800@gmail.com> | 2021-08-04 23:31:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 23:31:04 -0400 |
commit | 9a7d2e36590accebf005b03dcad6b6ce230a6ee0 (patch) | |
tree | acee0fa87fd67563ac200d2f5f09e1a91b6f52e6 /src | |
parent | edb9c72e263f25dd42d8a2b256089fa5d852d1a7 (diff) | |
parent | 7b39215c8a0842fff38f8edb2b8ee67038eb96c5 (diff) |
Merge pull request #6818 from Morph1984/hex-util-bug
hex_util: Fix incorrect array size in AsArray
Diffstat (limited to 'src')
-rw-r--r-- | src/common/hex_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/hex_util.h b/src/common/hex_util.h index f5f9e45077..5e9b6ef8b5 100644 --- a/src/common/hex_util.h +++ b/src/common/hex_util.h @@ -61,7 +61,7 @@ template <typename ContiguousContainer> return out; } -[[nodiscard]] constexpr std::array<u8, 16> AsArray(const char (&data)[17]) { +[[nodiscard]] constexpr std::array<u8, 16> AsArray(const char (&data)[33]) { return HexStringToArray<16>(data); } |