From: qhuang8 Date: Thu, 26 Oct 2006 02:32:47 +0000 (+0000) Subject: Fix a bug to convert EFI_PEI_HOB_POINTER to VOID*. X-Git-Tag: edk2-stable201903~24031 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=7bd57735429d6b9f702aba39ee332857471d9e15 Fix a bug to convert EFI_PEI_HOB_POINTER to VOID*. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1843 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Tools/Conf/Migration/R8Lib.c b/Tools/Conf/Migration/R8Lib.c index def15902d6..c705187219 100644 --- a/Tools/Conf/Migration/R8Lib.c +++ b/Tools/Conf/Migration/R8Lib.c @@ -1013,7 +1013,7 @@ Returns: } GuidHob.Raw = GetNextGuidHob (Guid, *HobStart); - if (GuidHob == NULL) { + if (GuidHob.Raw == NULL) { return EFI_NOT_FOUND; }