diff options
author | Matthijs Lavrijsen <mattiwatti@gmail.com> | 2022-04-21 19:29:00 +0200 |
---|---|---|
committer | Matthijs Lavrijsen <mattiwatti@gmail.com> | 2022-04-21 19:29:00 +0200 |
commit | 6112a10e8fca27900946d2f4c74db558ca89d24e (patch) | |
tree | 8f932e94a7f15c7d9108c765fbd2d61ab32d6b4c /EfiGuardDxe | |
parent | f01e43ef71e07b314587e021a915c3930bb6786c (diff) |
Fix warnings when compiling with GCC
Diffstat (limited to 'EfiGuardDxe')
-rw-r--r-- | EfiGuardDxe/PatchNtoskrnl.c | 2 | ||||
-rw-r--r-- | EfiGuardDxe/PatchWinload.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/EfiGuardDxe/PatchNtoskrnl.c b/EfiGuardDxe/PatchNtoskrnl.c index 8746e3c..3c3161b 100644 --- a/EfiGuardDxe/PatchNtoskrnl.c +++ b/EfiGuardDxe/PatchNtoskrnl.c @@ -589,7 +589,7 @@ DisableDSE( return EFI_NOT_FOUND; } - UINTN gCiEnabled = 0; + ZyanU64 gCiEnabled = 0; if (BuildNumber < 9200) { // On Windows Vista/7, find g_CiEnabled now because it's a few bytes away and we'll it need later diff --git a/EfiGuardDxe/PatchWinload.c b/EfiGuardDxe/PatchWinload.c index 32f10db..fe8ab35 100644 --- a/EfiGuardDxe/PatchWinload.c +++ b/EfiGuardDxe/PatchWinload.c @@ -41,7 +41,7 @@ BlStatusPrintNoop( ... ) { - return 0xC00000BBL; // STATUS_NOT_SUPPORTED + return (NTSTATUS)0xC00000BBL; // STATUS_NOT_SUPPORTED } t_BlStatusPrint gBlStatusPrint = BlStatusPrintNoop; |