mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 08:40:05 +00:00
core: fix archive.cpp warning on MSVC
This commit is contained in:
parent
418d15da08
commit
cb1ed3fc0a
@ -218,7 +218,7 @@ void Directory::HandleSyncRequest(Kernel::SharedPtr<Kernel::ServerSession> serve
|
||||
LOG_TRACE(Service_FS, "Read %s: count=%d", GetName().c_str(), count);
|
||||
|
||||
// Number of entries actually read
|
||||
u32 read = backend->Read(entries.size(), entries.data());
|
||||
u32 read = backend->Read(static_cast<u32>(entries.size()), entries.data());
|
||||
cmd_buff[2] = read;
|
||||
Memory::WriteBlock(address, entries.data(), read * sizeof(FileSys::Entry));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user