diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-29 04:22:16 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-29 04:22:16 +0000 |
commit | 464674999b4e70f6d34ebdf9a2af6bc0c46c273f (patch) | |
tree | 96cd31e6d2c3b42f2f2ebf9a62f7174069ee7b62 /MdePkg | |
parent | cb56d4e4c3c95587ce7611f84645a8749578cb88 (diff) | |
download | edk2-platforms-464674999b4e70f6d34ebdf9a2af6bc0c46c273f.tar.xz |
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
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/HobLib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Library/HobLib.h b/MdePkg/Include/Library/HobLib.h index 50e0d10676..f2bc43300b 100644 --- a/MdePkg/Include/Library/HobLib.h +++ b/MdePkg/Include/Library/HobLib.h @@ -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
|