summaryrefslogtreecommitdiff
path: root/src/arch/arm/v7/post.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/v7/post.c')
-rw-r--r--src/arch/arm/v7/post.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm/v7/post.c b/src/arch/arm/v7/post.c
index 415b278..7d8ecb3 100644
--- a/src/arch/arm/v7/post.c
+++ b/src/arch/arm/v7/post.c
@@ -69,7 +69,7 @@ void post_process_ldr_instructions(GArchInstruction *instr, GArchProcessor *proc
new = G_TARGET_OPERAND(g_target_operand_new(MDS_32_BITS_UNSIGNED, &target));
- if (!g_target_operand_resolve(&new, bfmt, true, NULL))
+ if (!g_target_operand_resolve(new, bfmt, true))
{
addr &= ~0x1;
@@ -82,7 +82,7 @@ void post_process_ldr_instructions(GArchInstruction *instr, GArchProcessor *proc
g_binary_symbol_set_alt_label(symbol, name);
g_binary_format_add_symbol(bfmt, symbol);
- g_target_operand_resolve(&new, bfmt, true, NULL);
+ g_target_operand_resolve(new, bfmt, true);
}