summaryrefslogtreecommitdiff
path: root/Nt32Pkg/SnpNt32Dxe/SnpNt32.c
diff options
context:
space:
mode:
Diffstat (limited to 'Nt32Pkg/SnpNt32Dxe/SnpNt32.c')
-rw-r--r--Nt32Pkg/SnpNt32Dxe/SnpNt32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Nt32Pkg/SnpNt32Dxe/SnpNt32.c b/Nt32Pkg/SnpNt32Dxe/SnpNt32.c
index 29cee4f..be9eb78 100644
--- a/Nt32Pkg/SnpNt32Dxe/SnpNt32.c
+++ b/Nt32Pkg/SnpNt32Dxe/SnpNt32.c
@@ -42,7 +42,7 @@ SNPNT32_GLOBAL_DATA gSnpNt32GlobalData = {
{
0,
0,
- 0
+ EfiLockUninitialized
}, // Lock
//
// Private functions
@@ -1083,7 +1083,7 @@ SnpNt32InitializeGlobalData (
//
// Get the WinNT thunk
//
- Status = gBS->LocateProtocol (&gEfiWinNtThunkProtocolGuid, NULL, &This->WinNtThunk);
+ Status = gBS->LocateProtocol (&gEfiWinNtThunkProtocolGuid, NULL, (VOID **)&This->WinNtThunk);
if (EFI_ERROR (Status)) {
return Status;