summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2021-08-05 05:31:04 +0200
committerGitHub <noreply@github.com>2021-08-05 05:31:04 +0200
commit9a7d2e36590accebf005b03dcad6b6ce230a6ee0 (patch)
treeacee0fa87fd67563ac200d2f5f09e1a91b6f52e6 /src
parentMerge pull request #6816 from lat9nq/fix-mult-contrl (diff)
parenthex_util: Fix incorrect array size in AsArray (diff)
downloadyuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.tar
yuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.tar.gz
yuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.tar.bz2
yuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.tar.lz
yuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.tar.xz
yuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.tar.zst
yuzu-9a7d2e36590accebf005b03dcad6b6ce230a6ee0.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/hex_util.h2
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>
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);
}