summaryrefslogtreecommitdiff
path: root/MdePkg/Library/PeiPcdLib
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/PeiPcdLib')
-rw-r--r--MdePkg/Library/PeiPcdLib/PeiPcdLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.c b/MdePkg/Library/PeiPcdLib/PeiPcdLib.c
index 5dcb16ad43..2b883268c8 100644
--- a/MdePkg/Library/PeiPcdLib/PeiPcdLib.c
+++ b/MdePkg/Library/PeiPcdLib/PeiPcdLib.c
@@ -893,7 +893,7 @@ LibPcdCallbackOnSet (
ASSERT (NotificationFunction != NULL);
- Status = (GetPiPcdPpiPointer ())->CallbackOnSet (Guid, TokenNumber, NotificationFunction);
+ Status = (GetPiPcdPpiPointer ())->CallbackOnSet (Guid, TokenNumber, (EFI_PCD_PPI_CALLBACK) NotificationFunction);
ASSERT_EFI_ERROR (Status);
@@ -927,7 +927,7 @@ LibPcdCancelCallback (
ASSERT (NotificationFunction != NULL);
- Status = (GetPiPcdPpiPointer ())->CancelCallback (Guid, TokenNumber, NotificationFunction);
+ Status = (GetPiPcdPpiPointer ())->CancelCallback (Guid, TokenNumber, (EFI_PCD_PPI_CALLBACK) NotificationFunction);
ASSERT_EFI_ERROR (Status);