Fix ICC compatibility issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8616 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user