summaryrefslogtreecommitdiff
path: root/src/arch/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/raw.c')
-rw-r--r--src/arch/raw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/raw.c b/src/arch/raw.c
index 4a82aef..8ab788f 100644
--- a/src/arch/raw.c
+++ b/src/arch/raw.c
@@ -203,7 +203,7 @@ GArchInstruction *g_raw_instruction_new_from_value(const vmpa2t *addr, MemoryDat
operand = G_IMM_OPERAND(g_imm_operand_new_from_value(size, value));
if (operand == NULL) goto grinfv_error;
- g_imm_operand_pad(&operand, true, NULL);
+ g_imm_operand_pad(operand, true);
g_arch_instruction_attach_extra_operand(result, G_ARCH_OPERAND(operand));
@@ -290,7 +290,7 @@ GArchInstruction *g_raw_instruction_new_uleb128(const GBinContent *content, vmpa
operand = G_IMM_OPERAND(g_imm_operand_new_from_value(leb_size, (uint64_t)value));
if (operand == NULL) goto grinu_error;
- g_imm_operand_pad(&operand, true, NULL);
+ g_imm_operand_pad(operand, true);
g_arch_instruction_attach_extra_operand(result, G_ARCH_OPERAND(operand));
@@ -344,7 +344,7 @@ GArchInstruction *g_raw_instruction_new_sleb128(const GBinContent *content, vmpa
operand = G_IMM_OPERAND(g_imm_operand_new_from_value(leb_size, (uint64_t)value));
if (operand == NULL) goto grins_error;
- g_imm_operand_pad(&operand, true, NULL);
+ g_imm_operand_pad(operand, true);
g_arch_instruction_attach_extra_operand(result, G_ARCH_OPERAND(operand));
@@ -393,7 +393,7 @@ GArchInstruction *g_raw_instruction_new_array(const GBinContent *content, Memory
operand = G_IMM_OPERAND(g_imm_operand_new_from_data(size, content, addr, endian));
if (operand == NULL) goto grina_error;
- g_imm_operand_pad(&operand, true, NULL);
+ g_imm_operand_pad(operand, true);
g_arch_instruction_attach_extra_operand(result, G_ARCH_OPERAND(operand));