From ae4a90f2ae5043bd157b0dffd8c40b840017b349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Mon, 16 Dec 2019 14:57:40 +0100 Subject: [PATCH] libc: Fix SIZE_MAX on AArch32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/lib/libc/stdint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- GitLab