From 880fdd8c2f2b470deabb6d277246e95ecc3ed886 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 13 Sep 2019 13:49:34 +0200 Subject: [PATCH] ulong changed to unsigned long --- ndsfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ndsfactory.cpp b/ndsfactory.cpp index abced80..6d95f3f 100644 --- a/ndsfactory.cpp +++ b/ndsfactory.cpp @@ -17,7 +17,7 @@ bool NDSFactory::loadRomHeader(const std::string& romPath, std::vector& ro std::ifstream romFile (romPath, std::ios::in|std::ios::binary|std::ios::ate); if (romFile.is_open()) { - romHeader.resize(static_cast(headerSize)); + romHeader.resize(static_cast(headerSize)); romFile.seekg (0, std::ios::beg); romFile.read (romHeader.data(), headerSize); @@ -128,7 +128,7 @@ bool NDSFactory::patchFat(const std::string& fatSectionPath, uint32_t shiftSize, return false; long sectionSize = sectionFile.tellg(); - fatBytes.resize(static_cast(sectionSize)); + fatBytes.resize(static_cast(sectionSize)); sectionFile.seekg (0, std::ios::beg);