Fix build failure in PreOsChecker on Windows
Fix type cast error from pointer to function pointer Signed-off-by: Aiden Park <aiden.park@intel.com>
This commit is contained in:
parent
70b5afb6b3
commit
7759f83a63
|
@ -140,7 +140,7 @@ StartPreOsChecker (
|
||||||
PreOsParams.OsBootState.Eip = OsBootParam->Hdr.Code32Start;
|
PreOsParams.OsBootState.Eip = OsBootParam->Hdr.Code32Start;
|
||||||
PreOsParams.OsBootState.Eflags = 0;
|
PreOsParams.OsBootState.Eflags = 0;
|
||||||
|
|
||||||
EntryPoint = (PRE_OS_CHECKER_ENTRY)mPreOsCheckerEntry;
|
EntryPoint = (PRE_OS_CHECKER_ENTRY)(UINTN)mPreOsCheckerEntry;
|
||||||
EntryPoint (&PreOsParams);
|
EntryPoint (&PreOsParams);
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue