Fix some warnings
This commit is contained in:
parent
48f80bb79e
commit
9a012ff007
9 changed files with 17 additions and 17 deletions
|
@ -50,7 +50,7 @@ std::unique_ptr<Directory> Archive_RomFS::OpenDirectory(const std::string& path)
|
|||
* @return Number of bytes read
|
||||
*/
|
||||
size_t Archive_RomFS::Read(const u64 offset, const u32 length, u8* buffer) const {
|
||||
DEBUG_LOG(FILESYS, "called offset=%d, length=%d", offset, length);
|
||||
DEBUG_LOG(FILESYS, "called offset=%llu, length=%d", offset, length);
|
||||
memcpy(buffer, &raw_data[(u32)offset], length);
|
||||
return length;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ u32 Directory_SDMC::Read(const u32 count, Entry* entries) {
|
|||
const std::string& filename = file.virtualName;
|
||||
Entry& entry = entries[entries_read];
|
||||
|
||||
WARN_LOG(FILESYS, "File %s: size=%d dir=%d", filename.c_str(), file.size, file.isDirectory);
|
||||
WARN_LOG(FILESYS, "File %s: size=%llu dir=%d", filename.c_str(), file.size, file.isDirectory);
|
||||
|
||||
// TODO(Link Mauve): use a proper conversion to UTF-16.
|
||||
for (int j = 0; j < FILENAME_LENGTH; ++j) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue