Browse Source

buffer_cache: Silence implicit cast warning

ReinUsesLisp 5 years ago
parent
commit
e79d02bf38
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video_core/buffer_cache/buffer_cache.h

+ 1 - 1
src/video_core/buffer_cache/buffer_cache.h

@@ -99,7 +99,7 @@ class BufferCache {
     };
     };
 
 
 public:
 public:
-    static constexpr u32 DEFAULT_SKIP_CACHE_SIZE = 4_KiB;
+    static constexpr u32 DEFAULT_SKIP_CACHE_SIZE = static_cast<u32>(4_KiB);
 
 
     explicit BufferCache(VideoCore::RasterizerInterface& rasterizer_,
     explicit BufferCache(VideoCore::RasterizerInterface& rasterizer_,
                          Tegra::Engines::Maxwell3D& maxwell3d_,
                          Tegra::Engines::Maxwell3D& maxwell3d_,