summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-20 21:07:19 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-20 21:07:19 +0000
commit96703427f2b2b4e513576dbef0f879941f47221b (patch)
tree063df3bda1e9c5cec6c6c76f4bd5d617c3f37b00
parent5413b31d7789161891dc0d69c81d4374648c9b1f (diff)
downloadedk2-platforms-96703427f2b2b4e513576dbef0f879941f47221b.tar.xz
edk2/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h:
* Added the ULL suffix to constant values greater than 32-bits so they will be interpreted as a unsigned long long. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4936 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h b/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
index 2b51b66948..349d79c675 100644
--- a/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
+++ b/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
@@ -138,19 +138,19 @@ typedef int64_t intn_t;
//
// Processor specific defines
//
-#define EFI_MAX_BIT 0x8000000000000000
-#define MAX_2_BITS 0xC000000000000000
+#define EFI_MAX_BIT 0x8000000000000000ULL
+#define MAX_2_BITS 0xC000000000000000ULL
//
// Maximum legal IA-32 address
//
-#define EFI_MAX_ADDRESS 0xFFFFFFFFFFFFFFFF
+#define EFI_MAX_ADDRESS 0xFFFFFFFFFFFFFFFFULL
//
// Bad pointer value to use in check builds.
// if you see this value you are using uninitialized or free'ed data
//
-#define EFI_BAD_POINTER 0xAFAFAFAFAFAFAFAF
+#define EFI_BAD_POINTER 0xAFAFAFAFAFAFAFAFULL
#define EFI_BAD_POINTER_AS_BYTE 0xAF
//