diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp b/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp index 0dba0c8d9..2f73abf86 100644 --- a/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp +++ b/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp @@ -8,7 +8,7 @@ namespace FileSys { constexpr inline u32 ILog2(u32 val) { ASSERT(val > 0); - return ((sizeof(u32) * 8) - 1 - std::countl_zero<u32>(val)); + return static_cast<u32>((sizeof(u32) * 8) - 1 - std::countl_zero<u32>(val)); } void IntegrityVerificationStorage::Initialize(VirtualFile hs, VirtualFile ds, s64 verif_block_size, |