]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(gpt_rme): fix compilation error for gpt_rme.c
authorAlexeiFedorov <Alexei.Fedorov@arm.com>
Fri, 9 Dec 2022 11:27:14 +0000 (11:27 +0000)
committerAlexeiFedorov <Alexei.Fedorov@arm.com>
Fri, 9 Dec 2022 11:27:14 +0000 (11:27 +0000)
commita0d5147b8282374e107461421bb229272fde924b
treea5fa69c60c6d8ed987424c361984ffd3b54fd76d
parent825641d6150f05c1bcf6328ec726f46f2e9e37f9
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
lib/gpt_rme/gpt_rme.c