mirror of
https://github.com/hasherezade/hollows_hunter.git
synced 2026-10-11 21:49:55 +00:00
[REFACT] Explicit integer cast
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ namespace process_util {
|
||||
hProcess = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, processID);
|
||||
if (!hProcess) return false;
|
||||
}
|
||||
DWORD exeNameSize = processNameSize;
|
||||
DWORD exeNameSize = static_cast<DWORD>(processNameSize);
|
||||
BOOL isOK = QueryFullProcessImageNameW(hProcess, 0, szProcessName, &exeNameSize);
|
||||
CloseHandle(hProcess);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user