summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexeiFedorov <Alexei.Fedorov@arm.com>2022-12-09 11:27:14 +0000
committerAlexeiFedorov <Alexei.Fedorov@arm.com>2022-12-09 11:27:14 +0000
commita0d5147b8282374e107461421bb229272fde924b (patch)
treea5fa69c60c6d8ed987424c361984ffd3b54fd76d
parent825641d6150f05c1bcf6328ec726f46f2e9e37f9 (diff)
fix(gpt_rme): fix compilation error for gpt_rme.c
This patch fixes compilation error for gpt_init_l0_tables() function in lib/gpt_rme/gpt_rme.c reported by GCC 13.0.0: "gpt_rme/gpt_rme.c:765:5: error: conflicting types for 'gpt_init_l0_tables' due to enum/integer mismatch; have 'int(unsigned int, uintptr_t, size_t)' {aka 'int(unsigned int, long unsigned int, long unsigned int)'}" Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com> Change-Id: I38f28be290337e7d37d59b52cad7bde5b96b8d51
-rw-r--r--lib/gpt_rme/gpt_rme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gpt_rme/gpt_rme.c b/lib/gpt_rme/gpt_rme.c
index a6e17a34d..f5353cb14 100644
--- a/lib/gpt_rme/gpt_rme.c
+++ b/lib/gpt_rme/gpt_rme.c
@@ -762,7 +762,7 @@ void gpt_disable(void)
* Return
* Negative Linux error code in the event of a failure, 0 for success.
*/
-int gpt_init_l0_tables(unsigned int pps, uintptr_t l0_mem_base,
+int gpt_init_l0_tables(gpccr_pps_e pps, uintptr_t l0_mem_base,
size_t l0_mem_size)
{
int ret;