From 3dd19b0d56310e40705bd6d38524ef488d94ed28 Mon Sep 17 00:00:00 2001 From: jwang36 Date: Thu, 6 Jul 2006 12:19:18 +0000 Subject: 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 --- EdkModulePkg/Universal/PCD/Dxe/Service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EdkModulePkg/Universal') 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) { // -- cgit v1.2.3