Warning fix.

This commit is contained in:
David Given 2018-06-17 15:34:29 +02:00
parent ddca7276c0
commit ce249649b2

View file

@ -1,8 +1,8 @@
#include <stdint.h>
#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);
}