summaryrefslogtreecommitdiff
path: root/StdLib/Include/X64/machine
diff options
context:
space:
mode:
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-31 00:02:56 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-31 00:02:56 +0000
commitc648f73cd2e807fb7f1e734b12b912b5953eb9e0 (patch)
treeddc8382ba7295e1a568dbd1bed0190f18230895e /StdLib/Include/X64/machine
parent40842a5e7c5b66e711d709f16ae6fc1a7134e3e0 (diff)
downloadedk2-platforms-c648f73cd2e807fb7f1e734b12b912b5953eb9e0.tar.xz
Fix GCC build errors.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12240 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/Include/X64/machine')
-rw-r--r--StdLib/Include/X64/machine/limits.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/StdLib/Include/X64/machine/limits.h b/StdLib/Include/X64/machine/limits.h
index d046c64dab..144549cc7f 100644
--- a/StdLib/Include/X64/machine/limits.h
+++ b/StdLib/Include/X64/machine/limits.h
@@ -5,13 +5,13 @@
#if defined(__GNUC__)
#define __LONG_BIT 64
/** minimum value for an object of type long int **/
-#define __LONG_MIN (-9223372036854775807L - 1L) // -(2^63 - 1)
+#define __LONG_MIN (-9223372036854775807LL - 1LL) // -(2^63 - 1)
/** maximum value for an object of type long int **/
-#define __LONG_MAX +9223372036854775807L // 2^63 - 1
+#define __LONG_MAX +9223372036854775807LL // 2^63 - 1
/** maximum value for an object of type unsigned long int **/
-#define __ULONG_MAX 0xFFFFFFFFFFFFFFFFUL // 2^64 - 1
+#define __ULONG_MAX 0xFFFFFFFFFFFFFFFFULL // 2^64 - 1
#else
#define __LONG_BIT 32
/** minimum value for an object of type long int **/