Merge pull request #5359 from ligfx/nandimporterwarning
NANDImporter: fix printf warning
This commit is contained in:
commit
d66e0e38d3
|
@ -5,6 +5,7 @@
|
||||||
#include "DiscIO/NANDImporter.h"
|
#include "DiscIO/NANDImporter.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
#include <cinttypes>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
#include "Common/Crypto/AES.h"
|
#include "Common/Crypto/AES.h"
|
||||||
|
@ -51,7 +52,8 @@ bool NANDImporter::ReadNANDBin(const std::string& path_to_bin)
|
||||||
File::IOFile file(path_to_bin, "rb");
|
File::IOFile file(path_to_bin, "rb");
|
||||||
if (file.GetSize() != NAND_BIN_SIZE)
|
if (file.GetSize() != NAND_BIN_SIZE)
|
||||||
{
|
{
|
||||||
PanicAlertT("This file does not look like a BootMii NAND backup. (0x%lx does not equal 0x%zx)",
|
PanicAlertT("This file does not look like a BootMii NAND backup. (0x%" PRIx64
|
||||||
|
" does not equal 0x%zx)",
|
||||||
file.GetSize(), NAND_BIN_SIZE);
|
file.GetSize(), NAND_BIN_SIZE);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue