Skip to content

Commit

Permalink
Merge pull request #5359 from ligfx/nandimporterwarning
Browse files Browse the repository at this point in the history
NANDImporter: fix printf warning
  • Loading branch information
lioncash committed May 2, 2017
2 parents b21174c + f04747e commit d66e0e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/Core/DiscIO/NANDImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "DiscIO/NANDImporter.h"

#include <array>
#include <cinttypes>
#include <cstring>

#include "Common/Crypto/AES.h"
Expand Down Expand Up @@ -51,7 +52,8 @@ bool NANDImporter::ReadNANDBin(const std::string& path_to_bin)
File::IOFile file(path_to_bin, "rb");
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);
return false;
}
Expand Down

0 comments on commit d66e0e3

Please sign in to comment.