mirror of
https://github.com/avast/retdec.git
synced 2024-11-23 21:10:13 +00:00
Removed warnings in Visual Studio
This commit is contained in:
parent
a5374a34af
commit
c9ddd13a60
@ -204,7 +204,7 @@ class ImageLoader
|
||||
|
||||
std::uint64_t getSizeOfFile() const
|
||||
{
|
||||
return fileSize;
|
||||
return savedFileSize;
|
||||
}
|
||||
|
||||
std::uint64_t getOrdinalMask() const
|
||||
@ -451,7 +451,7 @@ class ImageLoader
|
||||
PELIB_IMAGE_OPTIONAL_HEADER optionalHeader; // 32/64-bit optional header
|
||||
ByteBuffer rawFileData; // Loaded content of the image in case it couldn't have been mapped
|
||||
LoaderError ldrError;
|
||||
std::uint64_t fileSize; // Size of the raw file
|
||||
std::uint64_t savedFileSize; // Size of the raw file
|
||||
std::uint32_t windowsBuildNumber;
|
||||
std::uint32_t ntSignature;
|
||||
std::uint32_t maxSectionCount;
|
||||
|
@ -872,7 +872,7 @@ int PeLib::ImageLoader::Load(
|
||||
int fileError;
|
||||
|
||||
// Remember the size of the file for later use
|
||||
fileSize = fileData.size();
|
||||
savedFileSize = fileData.size();
|
||||
|
||||
// Check and capture DOS header
|
||||
fileError = captureDosHeader(fileData);
|
||||
|
Loading…
Reference in New Issue
Block a user