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 | 424e90f0f5e05fb34cfc728b9e12fbfc66ab2fdf (patch) | |
tree | e6d7cb41890e1ef6848ffe046602b9f4b526e291 /src/core/loader/loader.cpp | |
parent | e12a07079e217bd389f117876a4cb3359cdee333 (diff) | |
parent | 98b940052c92d509192e6810666fa655ea7682cd (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 2f5bfc67c..1f2f31535 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) { |