about summary refs log tree commit diff
path: root/arch/x32/bits/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x32/bits/limits.h')
-rw-r--r--arch/x32/bits/limits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x32/bits/limits.h b/arch/x32/bits/limits.h
index 792a30b9..65a3dd64 100644
--- a/arch/x32/bits/limits.h
+++ b/arch/x32/bits/limits.h
@@ -1,8 +1,8 @@
 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
  || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define PAGE_SIZE 4096
-#define LONG_BIT 64
+#define LONG_BIT 32
 #endif
 
-#define LONG_MAX  0x7fffffffffffffffL
+#define LONG_MAX  0x7fffffffL
 #define LLONG_MAX  0x7fffffffffffffffLL