diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-06 12:19:18 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-06 12:19:18 +0000 |
commit | 3dd19b0d56310e40705bd6d38524ef488d94ed28 (patch) | |
tree | f61633709e9bde4cb763ce902ee180e45a9aa2ec /EdkModulePkg/Universal/PCD | |
parent | c24ba2f612d89d6dd15871cdb8a66080859d9ab3 (diff) | |
download | edk2-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/PCD')
-rw-r--r-- | EdkModulePkg/Universal/PCD/Dxe/Service.c | 2 |
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) {
//
|