Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: ed9a64af1be2724362b50cf96281de7117ad7bff
      
https://github.com/tianocore/edk2/commit/ed9a64af1be2724362b50cf96281de7117ad7bff
  Author: Dun Tan <dun....@intel.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c

  Log Message:
  -----------
  SecurityPkg/Tcg2Config: avoid potential build error

Cast pointer type to VOID* to avoid potential build error.
If the two PCD are FixAtBuild, PcdGetPtr will return a const
type pointer. Since the second parameter of BuildGuidDataHob
is VOID*, build error may happen with following log:
C4090: 'function': different 'const' qualifiers

Signed-off-by: Dun Tan <dun....@intel.com>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to