Fix the bug about comparing with mismatched integrate type

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5147 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2008-04-29 04:22:16 +00:00
parent cb56d4e4c3
commit 464674999b
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ BuildMemoryAllocationHob (
#define GET_HOB_TYPE(Hob) ((Hob).Header->HobType)
#define GET_HOB_LENGTH(Hob) ((Hob).Header->HobLength)
#define GET_NEXT_HOB(Hob) ((Hob).Raw + GET_HOB_LENGTH (Hob))
#define END_OF_HOB_LIST(Hob) (GET_HOB_TYPE (Hob) == EFI_HOB_TYPE_END_OF_HOB_LIST)
#define END_OF_HOB_LIST(Hob) (GET_HOB_TYPE (Hob) == (UINT16)EFI_HOB_TYPE_END_OF_HOB_LIST)
//
// Get the data and data size field of GUID