mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Svace: Fixed BAD_CAST warning.
This commit is contained in:
parent
962b87ab7a
commit
2a344cfd14
@ -678,7 +678,7 @@ CreateChildNode (
|
||||
VOID *NewStreamBuffer;
|
||||
VOID *ScratchBuffer;
|
||||
UINT32 ScratchSize;
|
||||
UINTN NewStreamBufferSize;
|
||||
UINT32 NewStreamBufferSize;
|
||||
UINT32 AuthenticationStatus;
|
||||
VOID *CompressionSource;
|
||||
UINT32 CompressionSourceSize;
|
||||
@ -772,7 +772,7 @@ CreateChildNode (
|
||||
Decompress,
|
||||
CompressionSource,
|
||||
CompressionSourceSize,
|
||||
(UINT32 *)&NewStreamBufferSize,
|
||||
&NewStreamBufferSize,
|
||||
&ScratchSize
|
||||
);
|
||||
if (EFI_ERROR (Status) || (NewStreamBufferSize != UncompressedLength)) {
|
||||
@ -796,7 +796,7 @@ CreateChildNode (
|
||||
CompressionSource,
|
||||
CompressionSourceSize,
|
||||
NewStreamBuffer,
|
||||
(UINT32)NewStreamBufferSize,
|
||||
NewStreamBufferSize,
|
||||
ScratchBuffer,
|
||||
ScratchSize
|
||||
);
|
||||
@ -844,7 +844,7 @@ CreateChildNode (
|
||||
GuidedExtraction,
|
||||
GuidedHeader,
|
||||
&NewStreamBuffer,
|
||||
&NewStreamBufferSize,
|
||||
(UINTN *)&NewStreamBufferSize,
|
||||
&AuthenticationStatus
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user