From 55bfb04e78966791fc5efc69f7266793dccf5109 Mon Sep 17 00:00:00 2001 From: yshang1 Date: Wed, 4 Apr 2007 06:22:45 +0000 Subject: Fixed issue for ICC, since ICC does not allow to cast data with volatile qualifier. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2532 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/Synchronization.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Library/BaseLib/Synchronization.c b/MdePkg/Library/BaseLib/Synchronization.c index a4aa3fb..2254531 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 -- cgit v1.1