summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-06 12:19:18 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-06 12:19:18 +0000
commit3dd19b0d56310e40705bd6d38524ef488d94ed28 (patch)
treef61633709e9bde4cb763ce902ee180e45a9aa2ec /EdkModulePkg/Universal
parentc24ba2f612d89d6dd15871cdb8a66080859d9ab3 (diff)
downloadedk2-platforms-3dd19b0d56310e40705bd6d38524ef488d94ed28.tar.xz
Added type cast (VOID *) to the third parameter of GetHiiVariable, to avoid compiling warning in GCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@801 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal')
-rw-r--r--EdkModulePkg/Universal/PCD/Dxe/Service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkModulePkg/Universal/PCD/Dxe/Service.c b/EdkModulePkg/Universal/PCD/Dxe/Service.c
index f175b14db2..adbbe5fc5a 100644
--- a/EdkModulePkg/Universal/PCD/Dxe/Service.c
+++ b/EdkModulePkg/Universal/PCD/Dxe/Service.c
@@ -109,7 +109,7 @@ GetWorker (
Name = &(StringTable[VariableHead->StringIndex]);
VaraiableDefaultBuffer = (UINT8 *) PcdDb + VariableHead->DefaultValueOffset;
- Status = GetHiiVariable (Guid, Name, &Data, &DataSize);
+ Status = GetHiiVariable (Guid, Name, (VOID*)&Data, &DataSize);
if (Status == EFI_SUCCESS) {
if (GetSize == 0) {
//