diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2014-01-11 03:21:21 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-01-11 03:21:21 +0000 |
commit | 20182c7ea10f9f2ec48037ad7b0338185e45ecac (patch) | |
tree | 6085f350b8e8b0cd5e5365447e6a797720789f1f /MdeModulePkg | |
parent | 9f7f0697b7dcada75704f2c54b816cf79448010b (diff) | |
download | edk2-platforms-20182c7ea10f9f2ec48037ad7b0338185e45ecac.tar.xz |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/DebugPortDxe/DebugPort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c index 984288e302..00889a246d 100644 --- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c +++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c @@ -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;
}
|