aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBence Szépkúti <bence.szepkuti@arm.com>2019-12-16 14:57:40 +0100
committerBence Szépkúti <bence.szepkuti@arm.com>2019-12-16 15:24:50 +0100
commitae4a90f2ae5043bd157b0dffd8c40b840017b349 (patch)
tree33b9c29e5e4aae09722c21cd5a056ee3603204e5 /include
parent255b380afa17f1c38255d19a064fe4d26ea5025f (diff)
downloadplatform_external_arm-trusted-firmware-ae4a90f2ae5043bd157b0dffd8c40b840017b349.tar.gz
platform_external_arm-trusted-firmware-ae4a90f2ae5043bd157b0dffd8c40b840017b349.tar.bz2
platform_external_arm-trusted-firmware-ae4a90f2ae5043bd157b0dffd8c40b840017b349.zip
libc: Fix SIZE_MAX on AArch32
SIZE_MAX was mistakenly redefined from UINT32_MAX to UINT64_MAX on AArch32 when the arch-specific headers were merged. This value is not currently used by upstream TF-A source code, so no functionality should be affected. Change-Id: I2acf7f8736423697c7377e8ed4b08843ced26e66 Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
Diffstat (limited to 'include')
-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