about summary refs log tree commit diff
path: root/arch/x86_64/bits
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/bits')
-rw-r--r--arch/x86_64/bits/limits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/bits/limits.h b/arch/x86_64/bits/limits.h
index fadaf849..4f761b6c 100644
--- a/arch/x86_64/bits/limits.h
+++ b/arch/x86_64/bits/limits.h
@@ -20,11 +20,11 @@
 
 #define INT_MIN  (-1-0x7fffffff)
 #define INT_MAX  0x7fffffff
-#define UINT_MAX 0xffffffff
+#define UINT_MAX 0xffffffffU
 
 #define LONG_MIN  (-1-0x7fffffffffffffffL)
 #define LONG_MAX  0x7fffffffffffffffL
-#define ULONG_MAX 0xffffffffffffffffL
+#define ULONG_MAX 0xffffffffffffffffUL
 
 #define LLONG_MIN  (-1-0x7fffffffffffffffLL)
 #define LLONG_MAX  0x7fffffffffffffffLL