]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxePcdLib/DxePcdLib.c
Fix a typo bug that miss &
[mirror_edk2.git] / MdePkg / Library / DxePcdLib / DxePcdLib.c
index e6feeaccdc65ab2b3b6f71a8de9a8e7c2aa1a25f..483d3e6a3cb60c0345cbb06862c889514cc5b911 100644 (file)
@@ -55,7 +55,7 @@ PcdLibConstructor (
   // PI Pcd protocol defined in PI 1.2 vol3 should be installed before the module \r
   // access DynamicEx type PCD.\r
   //\r
-  Status = gBS->LocateProtocol (&gEfiPcdProtocolGuid, NULL, (VOID **) mPiPcd);\r
+  Status = gBS->LocateProtocol (&gEfiPcdProtocolGuid, NULL, (VOID **) &mPiPcd);\r
   \r
   ASSERT_EFI_ERROR (Status);\r
   ASSERT (mPiPcd!= NULL);\r