diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-17 05:39:12 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-17 05:39:12 +0000 |
commit | c948a515486e061715e572d4b4ca32a24f509ee7 (patch) | |
tree | f74eff6e5016e4650b4cb93676a479969e5a7912 /MdeModulePkg | |
parent | acd3b0e62d614c2ae8acd139334700c0272d07b0 (diff) | |
download | edk2-c948a515486e061715e572d4b4ca32a24f509ee7.zip edk2-c948a515486e061715e572d4b4ca32a24f509ee7.tar.gz edk2-c948a515486e061715e572d4b4ca32a24f509ee7.tar.bz2 |
Fix EBC build broken.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7534 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/PCD/Dxe/Service.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Service.c b/MdeModulePkg/Universal/PCD/Dxe/Service.c index c6ad6ab..c08ac54 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Service.c +++ b/MdeModulePkg/Universal/PCD/Dxe/Service.c @@ -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);
|