From 9ef1a3ca7d170d8f9d78bf11dbd8f3e13a03335b Mon Sep 17 00:00:00 2001 From: klu2 Date: Fri, 18 Apr 2008 04:21:49 +0000 Subject: Use const qualify for Src pointer. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5092 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c index 9c1b9b8..0ba2a25 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c @@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. STATIC EFI_DEVICE_PATH_PROTOCOL * UnpackDevicePath ( - IN EFI_DEVICE_PATH_PROTOCOL *DevPath + IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath ) /*++ @@ -34,7 +34,7 @@ UnpackDevicePath ( --*/ { - EFI_DEVICE_PATH_PROTOCOL *Src; + CONST EFI_DEVICE_PATH_PROTOCOL *Src; EFI_DEVICE_PATH_PROTOCOL *Dest; EFI_DEVICE_PATH_PROTOCOL *NewPath; UINTN Size; -- cgit v1.1