Warning fix.
This commit is contained in:
parent
ddca7276c0
commit
ce249649b2
|
@ -1,8 +1,8 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
|
||||||
extern void patch_addresses(uintptr_t* module);
|
extern void patch_addresses(uintptr_t** module);
|
||||||
extern uintptr_t* bmodule_main;
|
extern uintptr_t* bmodule_main[];
|
||||||
|
|
||||||
static void i_writehex(intptr_t code)
|
static void i_writehex(intptr_t code)
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,7 @@ static uintptr_t* bmodule_test[] =
|
||||||
|
|
||||||
void binit(void)
|
void binit(void)
|
||||||
{
|
{
|
||||||
patch_addresses(&bmodule_test);
|
patch_addresses(bmodule_test);
|
||||||
patch_addresses(&bmodule_main);
|
patch_addresses(bmodule_main);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue