summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2015-09-30 08:19:42 -0400
committerGravatar Lioncash2015-09-30 08:19:42 -0400
commita97d9613a77af2f4f4d213f8d72f336ebc516d33 (patch)
tree20225215b33b748d658b1881c417d01e3d67db88 /src
parentMerge pull request #1172 from martinlindhe/fix-warnings (diff)
downloadyuzu-a97d9613a77af2f4f4d213f8d72f336ebc516d33.tar.gz
yuzu-a97d9613a77af2f4f4d213f8d72f336ebc516d33.tar.xz
yuzu-a97d9613a77af2f4f4d213f8d72f336ebc516d33.zip
ivfc_archive: Fix a printf specifier
Diffstat (limited to 'src')
-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
62//////////////////////////////////////////////////////////////////////////////////////////////////// 62////////////////////////////////////////////////////////////////////////////////////////////////////
63 63
64size_t IVFCFile::Read(const u64 offset, const size_t length, u8* buffer) const { 64size_t IVFCFile::Read(const u64 offset, const size_t length, u8* buffer) const {
65 LOG_TRACE(Service_FS, "called offset=%llu, length=%d", offset, length); 65 LOG_TRACE(Service_FS, "called offset=%llu, length=%zu", offset, length);
66 romfs_file->Seek(data_offset + offset, SEEK_SET); 66 romfs_file->Seek(data_offset + offset, SEEK_SET);
67 size_t read_length = (size_t)std::min((u64)length, data_size - offset); 67 size_t read_length = (size_t)std::min((u64)length, data_size - offset);
68 68