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:
bbahnsen 2006-05-26 18:49:15 +00:00
parent f2982b30b2
commit b560bb65c4
2 changed files with 2 additions and 2 deletions

View File

@ -493,7 +493,7 @@ PeiPcdGetNextToken (
BOOLEAN Found;
if (Guid == NULL) {
*TokenNumber++;
(*TokenNumber)++;
if (*TokenNumber >= PEI_NEX_TOKEN_NUMBER) {
*TokenNumber = 0;

View File

@ -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;