summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libspl/include/sys/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libspl/include/sys/param.h b/lib/libspl/include/sys/param.h
index 3efb56ed4..75cf0b757 100644
--- a/lib/libspl/include/sys/param.h
+++ b/lib/libspl/include/sys/param.h
@@ -54,7 +54,7 @@
#define GID_NOBODY UID_NOBODY
#define UID_NOACCESS 60002 /* user ID no access */
-#define MAXUID 2147483647 /* max user id */
+#define MAXUID UINT32_MAX /* max user id */
#define MAXPROJID MAXUID /* max project id */
#define PAGESIZE (sysconf(_SC_PAGESIZE))