mirror of https://github.com/acidanthera/audk.git
Fix more gcc build breaks. One of these was a subtle bug in the code that was caught by a gcc warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@297 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f2982b30b2
commit
b560bb65c4
|
@ -493,7 +493,7 @@ PeiPcdGetNextToken (
|
|||
BOOLEAN Found;
|
||||
|
||||
if (Guid == NULL) {
|
||||
*TokenNumber++;
|
||||
(*TokenNumber)++;
|
||||
|
||||
if (*TokenNumber >= PEI_NEX_TOKEN_NUMBER) {
|
||||
*TokenNumber = 0;
|
||||
|
|
|
@ -143,7 +143,7 @@ GetHiiVariable (
|
|||
VOID *Buffer;
|
||||
EFI_PEI_READ_ONLY_VARIABLE_PPI *VariablePpi;
|
||||
|
||||
Status = PeiCoreLocatePpi (&gEfiPeiReadOnlyVariablePpiGuid, 0, NULL, &VariablePpi);
|
||||
Status = PeiCoreLocatePpi (&gEfiPeiReadOnlyVariablePpiGuid, 0, NULL, (VOID **) &VariablePpi);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
Size = 0;
|
||||
|
|
Loading…
Reference in New Issue