summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/NANDImporter.cpp
diff options
context:
space:
mode:
authorLeo Lam <leolino.lam@gmail.com>2017-05-21 13:16:59 +0200
committerGitHub <noreply@github.com>2017-05-21 13:16:59 +0200
commit3bdd9adf67ba2a250cf73b214c840da61cae93f3 (patch)
tree51406351244743e9ca5e6ac08461bf9534ac70be /Source/Core/DiscIO/NANDImporter.cpp
parent7af05fd9e6955f15b830645d38285c8a51038b0d (diff)
parentd8db6a71395d80a9c27213cc56cdfd7bdfa8cce8 (diff)
Merge pull request #5461 from Shugyousha/fixprintfwarning
NANDImporter: fix printf warning
Diffstat (limited to 'Source/Core/DiscIO/NANDImporter.cpp')
-rw-r--r--Source/Core/DiscIO/NANDImporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/NANDImporter.cpp b/Source/Core/DiscIO/NANDImporter.cpp
index 81de768435..5e83e5d784 100644
--- a/Source/Core/DiscIO/NANDImporter.cpp
+++ b/Source/Core/DiscIO/NANDImporter.cpp
@@ -93,7 +93,7 @@ void NANDImporter::FindSuperblock()
if (!memcmp(m_nand.data() + pos, "SFFS", 4))
{
u32 version = Common::swap32(&m_nand[pos + 4]);
- INFO_LOG(DISCIO, "Found superblock at 0x%x with version 0x%x", pos, version);
+ INFO_LOG(DISCIO, "Found superblock at 0x%zx with version 0x%x", pos, version);
if (superblock == 0 || version > newest_version)
{
superblock = pos;
@@ -104,7 +104,7 @@ void NANDImporter::FindSuperblock()
m_nand_fat_offset = superblock + 0xC;
m_nand_fst_offset = m_nand_fat_offset + 0x10000;
- INFO_LOG(DISCIO, "Using superblock version 0x%x at position 0x%x. FAT/FST offset: 0x%x/0x%x",
+ INFO_LOG(DISCIO, "Using superblock version 0x%x at position 0x%zx. FAT/FST offset: 0x%zx/0x%zx",
newest_version, superblock, m_nand_fat_offset, m_nand_fst_offset);
}