mirror of https://github.com/acidanthera/audk.git
Fix GCC build failure.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15098 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9f7f0697b7
commit
20182c7ea1
|
@ -65,7 +65,7 @@ GetDebugPortVariable (
|
|||
EFI_DEVICE_PATH_PROTOCOL *DebugPortVariable;
|
||||
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
|
||||
|
||||
GetVariable2 (EFI_DEBUGPORT_VARIABLE_NAME, &gEfiDebugPortVariableGuid, &DebugPortVariable, &DataSize);
|
||||
GetVariable2 (EFI_DEBUGPORT_VARIABLE_NAME, &gEfiDebugPortVariableGuid, (VOID **) &DebugPortVariable, &DataSize);
|
||||
if (DebugPortVariable == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue