summaryrefslogtreecommitdiff
path: root/MdePkg/Library/DxePcdLib/DxePcdLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/DxePcdLib/DxePcdLib.c')
-rw-r--r--MdePkg/Library/DxePcdLib/DxePcdLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.c b/MdePkg/Library/DxePcdLib/DxePcdLib.c
index 33d2e023a8..e6feeaccdc 100644
--- a/MdePkg/Library/DxePcdLib/DxePcdLib.c
+++ b/MdePkg/Library/DxePcdLib/DxePcdLib.c
@@ -904,7 +904,7 @@ LibPcdCallbackOnSet (
ASSERT (NotificationFunction != NULL);
- Status = mPiPcd->CallbackOnSet (Guid, TokenNumber, NotificationFunction);
+ Status = mPiPcd->CallbackOnSet (Guid, TokenNumber, (EFI_PCD_PROTOCOL_CALLBACK) NotificationFunction);
ASSERT_EFI_ERROR (Status);
@@ -938,7 +938,7 @@ LibPcdCancelCallback (
ASSERT (NotificationFunction != NULL);
- Status = mPiPcd->CancelCallback (Guid, TokenNumber, NotificationFunction);
+ Status = mPiPcd->CancelCallback (Guid, TokenNumber, (EFI_PCD_PROTOCOL_CALLBACK) NotificationFunction);
ASSERT_EFI_ERROR (Status);