X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FLinkedList.c;h=be7e0a64b762557a98acc8651ea5281bd35f546d;hp=9ad1b0875b0ecc3d1280a610e98144235c9449e4;hb=dc530c7b9df56725243aae875ed90ac1138e4628;hpb=30a60d29aac19ca429dc75b6295db907618513b4 diff --git a/MdePkg/Library/BaseLib/LinkedList.c b/MdePkg/Library/BaseLib/LinkedList.c index 9ad1b0875b..be7e0a64b7 100644 --- a/MdePkg/Library/BaseLib/LinkedList.c +++ b/MdePkg/Library/BaseLib/LinkedList.c @@ -33,7 +33,7 @@ IsNodeInList ( ASSERT (List->BackLink != NULL); ASSERT (Node != NULL); - Count = FixedPcdGet32 (PcdMaximumLinkedListLength); + Count = PcdGet32 (PcdMaximumLinkedListLength); if (Count != 0) { Count++; } @@ -45,7 +45,7 @@ IsNodeInList ( } while ((Ptr != List) && (Ptr != Node) && (Count > 0)); Found = (BOOLEAN)(Ptr == Node); - if (FixedPcdGet32 (PcdMaximumLinkedListLength) > 0) { + if (PcdGet32 (PcdMaximumLinkedListLength) > 0) { while ((Count > 0) && (Ptr != List)) { Ptr = Ptr->ForwardLink; Count--;