aboutsummaryrefslogtreecommitdiff
path: root/arm64-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'arm64-link.c')
-rw-r--r--arm64-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64-link.c b/arm64-link.c
index 739d56e..179fb14 100644
--- a/arm64-link.c
+++ b/arm64-link.c
@@ -153,7 +153,7 @@ ST_FUNC void relocate_plt(TCCState *s1)
void relocate_init(Section *sr) {}
-void relocate(TCCState *s1, ElfW_Rel *rel, int type, char *ptr, addr_t addr, addr_t val)
+void relocate(TCCState *s1, ElfW_Rel *rel, int type, unsigned char *ptr, addr_t addr, addr_t val)
{
int sym_index = ELFW(R_SYM)(rel->r_info);
#ifdef DEBUG_RELOC