diff options
| author | 2021-08-04 23:31:04 -0400 | |
|---|---|---|
| committer | 2021-08-04 23:31:04 -0400 | |
| commit | 9a7d2e36590accebf005b03dcad6b6ce230a6ee0 (patch) | |
| tree | acee0fa87fd67563ac200d2f5f09e1a91b6f52e6 | |
| parent | Merge pull request #6816 from lat9nq/fix-mult-contrl (diff) | |
| parent | hex_util: Fix incorrect array size in AsArray (diff) | |
| download | yuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.tar.gz yuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.tar.xz yuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.zip | |
Merge pull request #6818 from Morph1984/hex-util-bug
hex_util: Fix incorrect array size in AsArray
Diffstat (limited to '')
| -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 f5f9e4507..5e9b6ef8b 100644 --- a/src/common/hex_util.h +++ b/src/common/hex_util.h | |||
| @@ -61,7 +61,7 @@ template <typename ContiguousContainer> | |||
| 61 | return out; | 61 | return out; |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | [[nodiscard]] constexpr std::array<u8, 16> AsArray(const char (&data)[17]) { | 64 | [[nodiscard]] constexpr std::array<u8, 16> AsArray(const char (&data)[33]) { |
| 65 | return HexStringToArray<16>(data); | 65 | return HexStringToArray<16>(data); |
| 66 | } | 66 | } |
| 67 | 67 | ||