Skip to content

Commit 6a49605

Browse files
fix:😲
1 parent 42e7281 commit 6a49605

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ _NtQueryObject pfnNtQueryObject =
17021702
}
17031703
/* Query the object type first */
17041704
objectTypeInfo = (POBJECT_TYPE_INFORMATION)malloc(0x1000);
1705-
if (!NT_SUCCESS(pfnNtQueryObject(dupHandle, ObjectTypeInformation, objectTypeInfo, 0x1000, NULL))) {
1705+
if (!NT_SUCCESS(pfnNtQueryObject(dupHandle, (OBJECT_INFORMATION_CLASS)ObjectTypeInformation, objectTypeInfo, 0x1000, NULL))) {
17061706
printf("[%#x] Error!\n", handle.Handle);
17071707
CloseHandle(dupHandle);
17081708
continue;

0 commit comments

Comments
 (0)