Просмотр исходного кода

ivfc_archive: Fix a printf specifier

Lioncash 10 лет назад
Родитель
Сommit
a97d9613a7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/file_sys/ivfc_archive.cpp

+ 1 - 1
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);