Skip to content

Commit

Permalink
关闭cpp规范的26493警告。
Browse files Browse the repository at this point in the history
  • Loading branch information
kouzhudong committed Oct 26, 2023
1 parent 9060d21 commit 3a2c46d
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 1 deletion.
Binary file modified libdrv/APC.cpp
Binary file not shown.
Binary file modified libdrv/File.cpp
Binary file not shown.
Binary file modified libdrv/Image.cpp
Binary file not shown.
Binary file modified libdrv/Process.cpp
Binary file not shown.
Binary file modified libdrv/Registry.cpp
Binary file not shown.
Binary file modified libdrv/TEB.cpp
Binary file not shown.
Binary file modified libdrv/cpu.cpp
Binary file not shown.
Binary file modified libdrv/gdt.cpp
Binary file not shown.
Binary file modified libdrv/idt.cpp
Binary file not shown.
Binary file modified libdrv/log.cpp
Binary file not shown.
Binary file modified libdrv/pe.cpp
Binary file not shown.
2 changes: 1 addition & 1 deletion libdrv/signature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ NTSTATUS WINAPI SignHash(_In_z_ LPCWSTR pszHashId,
status = BCryptSignHash(hPrivateKey, nullptr, Hash, HashSize, nullptr, 0, SignSize, 0);
ASSERT(NT_SUCCESS(status));

*Sign = (PUCHAR)ExAllocatePoolWithTag(NonPagedPool, *SignSize, TAG);
*Sign = static_cast<PUCHAR>(ExAllocatePoolWithTag(NonPagedPool, *SignSize, TAG));
ASSERT(*Sign);

ULONG Result = 0;
Expand Down
Binary file modified libdrv/ssdt.cpp
Binary file not shown.

0 comments on commit 3a2c46d

Please sign in to comment.