diff options
-rw-r--r-- | InOsEmuPkg/Unix/Sec/SecMain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InOsEmuPkg/Unix/Sec/SecMain.c b/InOsEmuPkg/Unix/Sec/SecMain.c index 61847b5348..4b5910187d 100644 --- a/InOsEmuPkg/Unix/Sec/SecMain.c +++ b/InOsEmuPkg/Unix/Sec/SecMain.c @@ -30,7 +30,7 @@ EMU_THUNK_PPI mSecEmuThunkPpi = { }; char *gGdbWorkingFileName = NULL; -UINTN mScriptSymbolChangesCount = 0; +unsigned int mScriptSymbolChangesCount = 0; // @@ -1247,7 +1247,7 @@ SecPeCoffUnloadImageExtraAction ( // Handle = RemoveHandle (ImageContext); - if (Handle == NULL) { + if (Handle != NULL) { #ifndef __APPLE__ dlclose (Handle); #endif |