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:
Aiden Park 2019-10-16 17:44:53 -07:00 committed by James Gutbub
parent 70b5afb6b3
commit 7759f83a63
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ StartPreOsChecker (
PreOsParams.OsBootState.Eip = OsBootParam->Hdr.Code32Start;
PreOsParams.OsBootState.Eflags = 0;
EntryPoint = (PRE_OS_CHECKER_ENTRY)mPreOsCheckerEntry;
EntryPoint = (PRE_OS_CHECKER_ENTRY)(UINTN)mPreOsCheckerEntry;
EntryPoint (&PreOsParams);
//