yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Merge pull request #6818 from Morph1984/hex-util-bug

hex_util: Fix incorrect array size in AsArray
This commit is contained in:
Mai M 2021-08-04 23:31:04 -04:00 committed by GitHub
commit 9a7d2e3659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}