Fix EBC build broken.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7534 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2009-02-17 05:39:12 +00:00
parent acd3b0e62d
commit c948a51548
1 changed files with 4 additions and 4 deletions

View File

@ -761,8 +761,8 @@ SetWorker (
PcdDb = IsPeiDb ? ((UINT8 *) &mPcdDatabase->PeiDb) : ((UINT8 *) &mPcdDatabase->DxeDb);
StringTable = IsPeiDb ? mPcdDatabase->PeiDb.Init.StringTable :
mPcdDatabase->DxeDb.Init.StringTable;
StringTable = (UINT16*) (IsPeiDb ? mPcdDatabase->PeiDb.Init.StringTable :
mPcdDatabase->DxeDb.Init.StringTable);
InternalData = PcdDb + Offset;
@ -789,8 +789,8 @@ SetWorker (
}
}
GuidTable = IsPeiDb ? mPcdDatabase->PeiDb.Init.GuidTable :
mPcdDatabase->DxeDb.Init.GuidTable;
GuidTable = (EFI_GUID *)(IsPeiDb ? mPcdDatabase->PeiDb.Init.GuidTable :
mPcdDatabase->DxeDb.Init.GuidTable);
VariableHead = (VARIABLE_HEAD *) (PcdDb + Offset);