diff options
author | KokaKiwi | 2022-05-28 16:03:37 +0200 |
---|---|---|
committer | KokaKiwi | 2022-05-28 16:03:37 +0200 |
commit | 5ace14b2e7614fe49ab0fc69e9c657c8b0bf53cd (patch) | |
tree | 20977c693820bd0d3246add01c770382e047e675 /0003-fix-Build-errors-with-GCC-12.1.0.patch | |
parent | 0c953d2f57f9ec6a5e32d77efc89ef148f9e67a6 (diff) | |
download | aur-5ace14b2e7614fe49ab0fc69e9c657c8b0bf53cd.tar.gz |
Update: 1.18.0
Diffstat (limited to '0003-fix-Build-errors-with-GCC-12.1.0.patch')
-rw-r--r-- | 0003-fix-Build-errors-with-GCC-12.1.0.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/0003-fix-Build-errors-with-GCC-12.1.0.patch b/0003-fix-Build-errors-with-GCC-12.1.0.patch new file mode 100644 index 000000000000..68998f5b2b3b --- /dev/null +++ b/0003-fix-Build-errors-with-GCC-12.1.0.patch @@ -0,0 +1,31 @@ +From 310c0d349261d704614f4ce9c9e72966bcadf10b Mon Sep 17 00:00:00 2001 +From: KokaKiwi <kokakiwi+git@kokakiwi.net> +Date: Tue, 24 May 2022 15:27:25 +0200 +Subject: [PATCH 3/3] fix: Build errors with GCC 12.1.0 + +--- + lib/libimhex/source/helpers/encoding_file.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/libimhex/source/helpers/encoding_file.cpp b/lib/libimhex/source/helpers/encoding_file.cpp +index 410908e7..cee88da1 100644 +--- a/lib/libimhex/source/helpers/encoding_file.cpp ++++ b/lib/libimhex/source/helpers/encoding_file.cpp +@@ -54,11 +54,11 @@ namespace hex { + if (fromBytes.empty()) continue; + + if (!this->m_mapping.contains(fromBytes.size())) +- this->m_mapping.insert({ fromBytes.size(), {} }); ++ this->m_mapping.insert({ (u32)fromBytes.size(), {} }); + this->m_mapping[fromBytes.size()].insert({ fromBytes, to }); + + this->m_longestSequence = std::max(this->m_longestSequence, fromBytes.size()); + } + } + +-} +\ No newline at end of file ++} +-- +2.36.1 + |