diff options
Diffstat (limited to 'Nt32Pkg/Library')
5 files changed, 8 insertions, 8 deletions
diff --git a/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c b/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c index 3f765cc312..3581be7d3b 100644 --- a/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c +++ b/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c @@ -151,7 +151,7 @@ OemHookStatusCodeReport ( mStdOut,
Buffer,
CharCount,
- &CharCount,
+ (LPDWORD)&CharCount,
NULL
);
@@ -245,7 +245,7 @@ OemHookStatusCodeReport ( mStdOut,
Buffer,
CharCount,
- &CharCount,
+ (LPDWORD)&CharCount,
NULL
);
diff --git a/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c b/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c index 3c7148e66b..67a62fbcf2 100644 --- a/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c +++ b/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c @@ -71,7 +71,7 @@ Returns: &gNtPeiLoadFilePpiGuid,
0,
&PpiDescriptor,
- &PeiNtService
+ (VOID**)&PeiNtService
);
ASSERT_EFI_ERROR (Status);
diff --git a/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c b/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c index f34eab2e78..e4e6225193 100644 --- a/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c +++ b/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c @@ -63,7 +63,7 @@ GetPeCoffLoaderStucture ( &gEfiPeiPeCoffLoaderGuid,
0,
NULL,
- &mPeiEfiPeiPeCoffLoader
+ (VOID**)&mPeiEfiPeiPeCoffLoader
);
//
diff --git a/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c b/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c index d192cfb1df..0d597aaa85 100644 --- a/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c +++ b/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c @@ -160,7 +160,7 @@ OemHookStatusCodeReport ( mStdOut,
Buffer,
CharCount,
- &CharCount,
+ (LPDWORD)&CharCount,
NULL
);
@@ -254,7 +254,7 @@ OemHookStatusCodeReport ( mStdOut,
Buffer,
CharCount,
- &CharCount,
+ (LPDWORD)&CharCount,
NULL
);
diff --git a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c index 6bfc630663..a1a2580a5b 100644 --- a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c +++ b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c @@ -64,11 +64,11 @@ PeiNt32PeCoffLibConstructor ( // GuidHob is not ready, try to locate PeCoffLoader guid structure.
//
Status = (*PeiServices)->LocatePpi (
- PeiServices,
+ (const EFI_PEI_SERVICES **)PeiServices,
&gEfiPeiPeCoffLoaderGuid,
0,
NULL,
- &mPeiEfiPeiPeCoffLoader
+ (VOID**)&mPeiEfiPeiPeCoffLoader
);
//
|