diff --git a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c index a1a2580a5b..80796020f2 100644 --- a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c +++ b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c @@ -64,7 +64,7 @@ PeiNt32PeCoffLibConstructor ( // GuidHob is not ready, try to locate PeCoffLoader guid structure. // Status = (*PeiServices)->LocatePpi ( - (const EFI_PEI_SERVICES **)PeiServices, + (CONST EFI_PEI_SERVICES **)PeiServices, &gEfiPeiPeCoffLoaderGuid, 0, NULL, diff --git a/Nt32Pkg/Sec/SecMain.c b/Nt32Pkg/Sec/SecMain.c index 345f1915e6..56753fd421 100644 --- a/Nt32Pkg/Sec/SecMain.c +++ b/Nt32Pkg/Sec/SecMain.c @@ -913,7 +913,7 @@ Returns: UINTN CountSeperatorsInString ( - IN const CHAR16 *String, + IN CONST CHAR16 *String, IN CHAR16 Seperator ) /*++ diff --git a/Nt32Pkg/Sec/SecMain.h b/Nt32Pkg/Sec/SecMain.h index 618728da94..c71f287c7c 100644 --- a/Nt32Pkg/Sec/SecMain.h +++ b/Nt32Pkg/Sec/SecMain.h @@ -528,7 +528,7 @@ Returns: UINTN CountSeperatorsInString ( - IN const CHAR16 *String, + IN CONST CHAR16 *String, IN CHAR16 Seperator ) /*++