From ce249649b29f84ca47e1bf81a1faf36b841bad6b Mon Sep 17 00:00:00 2001 From: David Given Date: Sun, 17 Jun 2018 15:34:29 +0200 Subject: [PATCH] Warning fix. --- tests/plat/lib/test_b.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/plat/lib/test_b.c b/tests/plat/lib/test_b.c index b2173b4f3..85ce1a159 100644 --- a/tests/plat/lib/test_b.c +++ b/tests/plat/lib/test_b.c @@ -1,8 +1,8 @@ #include #include "test.h" -extern void patch_addresses(uintptr_t* module); -extern uintptr_t* bmodule_main; +extern void patch_addresses(uintptr_t** module); +extern uintptr_t* bmodule_main[]; static void i_writehex(intptr_t code) { @@ -28,7 +28,7 @@ static uintptr_t* bmodule_test[] = void binit(void) { - patch_addresses(&bmodule_test); - patch_addresses(&bmodule_main); + patch_addresses(bmodule_test); + patch_addresses(bmodule_main); }