mirror of
https://github.com/klezVirus/inceptor.git
synced 2024-06-28 17:51:20 +00:00
Explicit cast to DWORD to fix clang compilation
This commit is contained in:
parent
f951a520d5
commit
89cdee799e
@ -34,7 +34,7 @@ int Inject(int pid)
|
||||
myNtMapViewOfSection fNtMapViewOfSection = (myNtMapViewOfSection)(GetProcAddress(GetModuleHandleA("ntdll"), "NtMapViewOfSection"));
|
||||
myRtlCreateUserThread fRtlCreateUserThread = (myRtlCreateUserThread)(GetProcAddress(GetModuleHandleA("ntdll"), "RtlCreateUserThread"));
|
||||
SIZE_T size = 4096;
|
||||
LARGE_INTEGER sectionSize = { size };
|
||||
LARGE_INTEGER sectionSize = { (DWORD)size };
|
||||
HANDLE sectionHandle = NULL;
|
||||
PVOID localSectionAddress = NULL, remoteSectionAddress = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user