mirror of https://github.com/x64dbg/TitanEngine
fix various signedness issues by deepzero
This commit is contained in:
parent
6aa395b57b
commit
7f919fbeb0
|
|
@ -7449,16 +7449,16 @@ __declspec(dllexport) bool TITCALL IsPE32FileValidExW(wchar_t* szFileName, DWORD
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
ULONG_PTR ReadData = NULL;
|
ULONG_PTR ReadData = NULL;
|
||||||
DWORD ReadSize = NULL;
|
DWORD ReadSize = 0;
|
||||||
WORD ReadDataWORD = NULL;
|
WORD ReadDataWORD = 0;
|
||||||
ULONG_PTR hSimulatedFileLoad;
|
ULONG_PTR hSimulatedFileLoad;
|
||||||
DWORD SectionNumber = NULL;
|
long SectionNumber = 0;
|
||||||
DWORD SectionAttributes = NULL;
|
DWORD SectionAttributes = 0;
|
||||||
ULONG_PTR ConvertedAddress = NULL;
|
ULONG_PTR ConvertedAddress = NULL;
|
||||||
DWORD CorrectedImageSize = NULL;
|
DWORD CorrectedImageSize = 0;
|
||||||
DWORD SectionVirtualSize = NULL;
|
DWORD SectionVirtualSize = 0;
|
||||||
DWORD SectionVirtualSizeFixed = NULL;
|
DWORD SectionVirtualSizeFixed = 0;
|
||||||
DWORD NumberOfSections = NULL;
|
DWORD NumberOfSections = 0;
|
||||||
FILE_STATUS_INFO myFileStatusInfo;
|
FILE_STATUS_INFO myFileStatusInfo;
|
||||||
PIMAGE_DOS_HEADER DOSHeader;
|
PIMAGE_DOS_HEADER DOSHeader;
|
||||||
PIMAGE_NT_HEADERS32 PEHeader32;
|
PIMAGE_NT_HEADERS32 PEHeader32;
|
||||||
|
|
@ -9034,7 +9034,7 @@ __declspec(dllexport) bool TITCALL FixBrokenPE32FileExW(wchar_t* szFileName, LPV
|
||||||
ULONG_PTR ReadDataQWORD = NULL;
|
ULONG_PTR ReadDataQWORD = NULL;
|
||||||
DWORD OrdinalBase = NULL;
|
DWORD OrdinalBase = NULL;
|
||||||
DWORD OrdinalCount = NULL;
|
DWORD OrdinalCount = NULL;
|
||||||
DWORD SectionNumber = NULL;
|
long SectionNumber = NULL;
|
||||||
DWORD SectionAttributes = NULL;
|
DWORD SectionAttributes = NULL;
|
||||||
ULONG_PTR ConvertedAddress = NULL;
|
ULONG_PTR ConvertedAddress = NULL;
|
||||||
DWORD CorrectedImageSize = NULL;
|
DWORD CorrectedImageSize = NULL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue