summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-09-30 17:06:26 +0200
committerbunnei <bunneidev@gmail.com>2015-09-30 17:06:26 +0200
commitddc54615ca83188c4ede3866403cbf4627e703a7 (patch)
tree5baa3ce62e4e2111acb2a74c0006cc81a80802db
parentMerge pull request #1174 from bunnei/vs2015 (diff)
parentivfc_archive: Fix a printf specifier (diff)
downloadyuzu-ddc54615ca83188c4ede3866403cbf4627e703a7.tar
yuzu-ddc54615ca83188c4ede3866403cbf4627e703a7.tar.gz
yuzu-ddc54615ca83188c4ede3866403cbf4627e703a7.tar.bz2
yuzu-ddc54615ca83188c4ede3866403cbf4627e703a7.tar.lz
yuzu-ddc54615ca83188c4ede3866403cbf4627e703a7.tar.xz
yuzu-ddc54615ca83188c4ede3866403cbf4627e703a7.tar.zst
yuzu-ddc54615ca83188c4ede3866403cbf4627e703a7.zip
-rw-r--r--src/core/file_sys/ivfc_archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/ivfc_archive.cpp b/src/core/file_sys/ivfc_archive.cpp
index e16aa1491..441ca9b53 100644
--- a/src/core/file_sys/ivfc_archive.cpp
+++ b/src/core/file_sys/ivfc_archive.cpp
@@ -62,7 +62,7 @@ std::unique_ptr<DirectoryBackend> IVFCArchive::OpenDirectory(const Path& path) c
////////////////////////////////////////////////////////////////////////////////////////////////////
size_t IVFCFile::Read(const u64 offset, const size_t length, u8* buffer) const {
- LOG_TRACE(Service_FS, "called offset=%llu, length=%d", offset, length);
+ LOG_TRACE(Service_FS, "called offset=%llu, length=%zu", offset, length);
romfs_file->Seek(data_offset + offset, SEEK_SET);
size_t read_length = (size_t)std::min((u64)length, data_size - offset);