diff options
| author | bunnei <bunneidev@gmail.com> | 2020-10-20 19:07:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-20 19:07:39 -0700 |
| commit | deb35369367ea8a5dde4b23434c7e3d70d9f64b7 (patch) | |
| tree | 0dbc65ac86e609ae22087c7be9d4759ac6b73004 /src/core/memory.cpp | |
| parent | 1367e8fb7511a60dfbb282d86393895bcbdf93b6 (diff) | |
Revert "core: Fix clang build"
Diffstat (limited to 'src/core/memory.cpp')
| -rw-r--r-- | src/core/memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 2ce12df886..b88aa5c40e 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -197,7 +197,7 @@ struct Memory::Impl { std::string string; string.reserve(max_length); for (std::size_t i = 0; i < max_length; ++i) { - const auto c = static_cast<char>(Read8(vaddr)); + const char c = Read8(vaddr); if (c == '\0') { break; } |
