diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2017-12-02 22:16:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-02 22:16:21 +0100 |
| commit | 4c48cc6757a17c3bea3b25a108038466d56f9331 (patch) | |
| tree | 9e1ca9d9839200a27f3cf797ddce673b68fd951a /Source/Core/VideoCommon/HiresTextures.cpp | |
| parent | d71f4168e94f1ced736461bd62ec39e46be3c78f (diff) | |
| parent | d95177526fc46d953bc7febca80a6874e67ab2be (diff) | |
Merge pull request #6230 from leoetlino/warning-fixes
Small warning fixes
Diffstat (limited to 'Source/Core/VideoCommon/HiresTextures.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/HiresTextures.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp index 60b7630512..f5294d275a 100644 --- a/Source/Core/VideoCommon/HiresTextures.cpp +++ b/Source/Core/VideoCommon/HiresTextures.cpp @@ -284,7 +284,7 @@ std::string HiresTexture::GenBaseName(const u8* texture, size_t texture_size, co std::string basename = s_format_prefix + StringFromFormat("%dx%d%s_%016" PRIx64, width, height, has_mipmaps ? "_m" : "", tex_hash); std::string tlutname = tlut_size ? StringFromFormat("_%016" PRIx64, tlut_hash) : ""; - std::string formatname = StringFromFormat("_%d", format); + std::string formatname = StringFromFormat("_%d", static_cast<int>(format)); std::string fullname = basename + tlutname + formatname; for (int level = 0; level < 10 && convert; level++) |
