summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2014-01-11 03:21:21 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2014-01-11 03:21:21 +0000
commit20182c7ea10f9f2ec48037ad7b0338185e45ecac (patch)
tree6085f350b8e8b0cd5e5365447e6a797720789f1f /MdeModulePkg/Universal
parent9f7f0697b7dcada75704f2c54b816cf79448010b (diff)
downloadedk2-20182c7ea10f9f2ec48037ad7b0338185e45ecac.zip
edk2-20182c7ea10f9f2ec48037ad7b0338185e45ecac.tar.gz
edk2-20182c7ea10f9f2ec48037ad7b0338185e45ecac.tar.bz2
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/Universal')
-rw-r--r--MdeModulePkg/Universal/DebugPortDxe/DebugPort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
index 984288e..00889a2 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;
}