]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Conf/Migration/R8Lib.c
Fix a bug to convert EFI_PEI_HOB_POINTER to VOID*.
[mirror_edk2.git] / Tools / Conf / Migration / R8Lib.c
index def15902d6b154d486548ce079bd1f7d4b3de030..c705187219aed3aaf23c9c2d48bb9a21bfe1710f 100644 (file)
@@ -1013,7 +1013,7 @@ Returns:
   }\r
 \r
   GuidHob.Raw = GetNextGuidHob (Guid, *HobStart);\r
-  if (GuidHob == NULL) {\r
+  if (GuidHob.Raw == NULL) {\r
     return EFI_NOT_FOUND;\r
   }\r
   \r