diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-12 16:22:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-12 16:22:35 -0400 |
| commit | edeb37b18d9c1f3dcd290558d5427f5c41d23b4a (patch) | |
| tree | e6d7cb41890e1ef6848ffe046602b9f4b526e291 /src/core/loader/loader.cpp | |
| parent | 5af06e90cc7df59a92af75827485f466e7b658e4 (diff) | |
| parent | bba02ec64192d45d0f51d7862f276f99f67b056e (diff) | |
Merge pull request #1025 from ogniK5377/bad-cast
Fixed invalid cast in loader
Diffstat (limited to 'src/core/loader/loader.cpp')
| -rw-r--r-- | src/core/loader/loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index 2f5bfc67cd..1f2f315358 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp @@ -126,7 +126,7 @@ constexpr std::array<const char*, 36> RESULT_MESSAGES{ }; std::string GetMessageForResultStatus(ResultStatus status) { - return GetMessageForResultStatus(static_cast<size_t>(status)); + return GetMessageForResultStatus(static_cast<u16>(status)); } std::string GetMessageForResultStatus(u16 status) { |
