aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/lib/libc/stdint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib/libc/stdint.h b/include/lib/libc/stdint.h
index 80b3e965d..818870e16 100644
--- a/include/lib/libc/stdint.h
+++ b/include/lib/libc/stdint.h
@@ -72,7 +72,7 @@
#define PTRDIFF_MIN LONG_MIN
#define PTRDIFF_MAX LONG_MAX
-#define SIZE_MAX UINT64_MAX
+#define SIZE_MAX ULONG_MAX
#define INT8_C(x) x
#define INT16_C(x) x