mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcDevicePathLib: Fix type mismatches
This commit is contained in:
parent
09f2f4fd15
commit
30bfee014d
@ -173,9 +173,9 @@ OcFileDevicePathFullNameSize (
|
||||
**/
|
||||
VOID
|
||||
OcFileDevicePathFullName (
|
||||
OUT CHAR16 *PathName,
|
||||
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
|
||||
IN UINTN PathNameSize
|
||||
OUT CHAR16 *PathName,
|
||||
IN CONST FILEPATH_DEVICE_PATH *FilePath,
|
||||
IN UINTN PathNameSize
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@ -736,7 +736,7 @@ OcFileDevicePathFullName (
|
||||
|
||||
ASSERT (PathName != NULL);
|
||||
ASSERT (FilePath != NULL);
|
||||
ASSERT (IsDevicePathValid (FilePath, 0));
|
||||
ASSERT (IsDevicePathValid (&FilePath->Header, 0));
|
||||
ASSERT (PathNameSize == OcFileDevicePathFullNameSize (&FilePath->Header));
|
||||
|
||||
do {
|
||||
@ -748,7 +748,7 @@ OcFileDevicePathFullName (
|
||||
);
|
||||
PathName += PathLen;
|
||||
|
||||
FilePath = NextDevicePathNode (FilePath);
|
||||
FilePath = (CONST FILEPATH_DEVICE_PATH *)NextDevicePathNode (FilePath);
|
||||
} while (!IsDevicePathEnd (FilePath));
|
||||
*PathName = CHAR_NULL;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user