diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-18 04:21:49 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-18 04:21:49 +0000 |
commit | 9ef1a3ca7d170d8f9d78bf11dbd8f3e13a03335b (patch) | |
tree | abb7ac33e93b9469125b7296e37189fd29aed1d6 /MdeModulePkg/Universal/DevicePathDxe | |
parent | f40bbc08c8690a3e408736cbf047999d2fac44eb (diff) | |
download | edk2-platforms-9ef1a3ca7d170d8f9d78bf11dbd8f3e13a03335b.tar.xz |
Use const qualify for Src pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5092 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DevicePathDxe')
-rw-r--r-- | MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c index 9c1b9b8506..0ba2a25618 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;
|