diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-10-13 16:20:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-13 16:20:44 -0300 |
| commit | 1f39359b71f5ef9803c13a5ae0af86ed626c8ea7 (patch) | |
| tree | 9565ff464bbb9e5a0aa66e6e310098314e88d019 /src/core/file_sys/ips_layer.cpp | |
| parent | 77bf864c9406a14d38a8b17c0d9ce144b616c2fd (diff) | |
| parent | 16de0a6a96cae65b58c323f8e8d75ddc6f8462f0 (diff) | |
Merge pull request #4786 from lioncash/flags
core/CMakeLists: Make some warnings errors
Diffstat (limited to 'src/core/file_sys/ips_layer.cpp')
| -rw-r--r-- | src/core/file_sys/ips_layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/ips_layer.cpp b/src/core/file_sys/ips_layer.cpp index dd779310f8..a6101f1c04 100644 --- a/src/core/file_sys/ips_layer.cpp +++ b/src/core/file_sys/ips_layer.cpp @@ -299,7 +299,7 @@ void IPSwitchCompiler::Parse() { patch_text->GetName(), offset, Common::HexToString(replace)); } - patch.records.insert_or_assign(offset, std::move(replace)); + patch.records.insert_or_assign(static_cast<u32>(offset), std::move(replace)); } patches.push_back(std::move(patch)); |
