summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseLib/Synchronization.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/Synchronization.c b/MdePkg/Library/BaseLib/Synchronization.c
index a4aa3fb1eb..225453149d 100644
--- a/MdePkg/Library/BaseLib/Synchronization.c
+++ b/MdePkg/Library/BaseLib/Synchronization.c
@@ -16,8 +16,8 @@
#include "BaseLibInternals.h"
-#define SPIN_LOCK_RELEASED ((SPIN_LOCK)1)
-#define SPIN_LOCK_ACQUIRED ((SPIN_LOCK)2)
+#define SPIN_LOCK_RELEASED ((UINTN) 1)
+#define SPIN_LOCK_ACQUIRED ((UINTN) 2)
/**
Retrieves the architecture specific spin lock alignment requirements for