summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Base.h
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-30 06:12:54 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-30 06:12:54 +0000
commit6f906c3944ae2ece5a9dbb051d4022d61756b613 (patch)
tree6c944a303c0b155b1e0f27f83b619d9f6b604ff2 /MdePkg/Include/Base.h
parentdb731882fa90d1311a0828b2fbf13f766d8c21b6 (diff)
downloadedk2-platforms-6f906c3944ae2ece5a9dbb051d4022d61756b613.tar.xz
Change RETURN_STATUS type to UINTN, thus EFI_STATUS is defined as UINTN to align with recent UEFI 2.3 spec update.
Impaction: There should be no impact unless code has been written that tests a constant or variable of type EFI_STATUS to be less than 0, or tested it against a negative value. This most likely have not been done. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9324 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Base.h')
-rw-r--r--MdePkg/Include/Base.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h
index 77ca849d27..2b0ce41e0e 100644
--- a/MdePkg/Include/Base.h
+++ b/MdePkg/Include/Base.h
@@ -6,8 +6,8 @@
environment. There are a set of base libraries in the Mde Package that can
be used to implement base modules.
-Copyright (c) 2006 - 2008, Intel Corporation<BR>
-Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
+Copyright (c) 2006 - 2009, Intel Corporation<BR>
+Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -643,7 +643,7 @@ typedef UINTN *BASE_LIST;
//
// Status codes common to all execution phases
//
-typedef INTN RETURN_STATUS;
+typedef UINTN RETURN_STATUS;
/**
Produces a RETURN_STATUS code with the highest bit set.
@@ -678,7 +678,7 @@ typedef INTN RETURN_STATUS;
@retval FALSE The high bit of StatusCode is clear.
**/
-#define RETURN_ERROR(StatusCode) (((RETURN_STATUS)(StatusCode)) < 0)
+#define RETURN_ERROR(StatusCode) (((INTN)(RETURN_STATUS)(StatusCode)) < 0)
///
/// The operation completed successfully.