summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiSortLib/UefiSortLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ShellPkg/Library/UefiSortLib/UefiSortLib.c')
-rw-r--r--ShellPkg/Library/UefiSortLib/UefiSortLib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ShellPkg/Library/UefiSortLib/UefiSortLib.c b/ShellPkg/Library/UefiSortLib/UefiSortLib.c
index 1df45fb5ae..2a65f36507 100644
--- a/ShellPkg/Library/UefiSortLib/UefiSortLib.c
+++ b/ShellPkg/Library/UefiSortLib/UefiSortLib.c
@@ -192,8 +192,8 @@ PerformQuickSort (
**/
INTN
DevicePathCompare (
- IN VOID *Buffer1,
- IN VOID *Buffer2
+ IN CONST VOID *Buffer1,
+ IN CONST VOID *Buffer2
)
{
EFI_DEVICE_PATH_PROTOCOL *DevicePath1;
@@ -270,8 +270,8 @@ DevicePathCompare (
INTN
EFIAPI
StringNoCaseCompare (
- IN VOID *Buffer1,
- IN VOID *Buffer2
+ IN CONST VOID *Buffer1,
+ IN CONST VOID *Buffer2
)
{
EFI_STATUS Status;