NANDImporter: fix printf warning

Fixes warning:

```
Source/Core/DiscIO/NANDImporter.cpp:55:17: warning: format specifies type 'unsigned long' but the argument has type 'u64' (aka 'unsigned long long') [-Wformat]
                file.GetSize(), NAND_BIN_SIZE);
                ^~~~~~~~~~~~~~
1 warning generated.

```
This commit is contained in:
Michael Maltese 2017-05-02 14:55:04 -07:00
parent b21174c326
commit f04747e910
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
#include "DiscIO/NANDImporter.h"
#include <array>
#include <cinttypes>
#include <cstring>
#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");
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;
}