summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-27 15:42:03 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-27 15:42:03 +0000
commitfebb227679d9a8b6a4300ce736e631929badb09a (patch)
treec89b3a651faf11f605cbbba320204fdc1b25c912
parent4ffaadccd3fe65701f6c3ba1c01e45a46924515c (diff)
downloadedk2-febb227679d9a8b6a4300ce736e631929badb09a.zip
edk2-febb227679d9a8b6a4300ce736e631929badb09a.tar.gz
edk2-febb227679d9a8b6a4300ce736e631929badb09a.tar.bz2
InOsEmuPkg: Fix minor typo and Xcode build breaks. Seems Xcode is more picky about the types you pass into %x.
signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11893 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--InOsEmuPkg/Unix/Sec/SecMain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/InOsEmuPkg/Unix/Sec/SecMain.c b/InOsEmuPkg/Unix/Sec/SecMain.c
index 61847b5..4b59101 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